Resource.GetPrivateData Method |
Language: |
Copies the private data associated with a resource to a buffer.
Visual Basic Public Function GetPrivateData( _
ByVal guidData As Guid _
) As Byte()C# public byte[] GetPrivateData(
Guid guidData
);C++ public:
array<unsigned char>^ GetPrivateData(
Guid guidData
);JScript public function GetPrivateData(
guidData : Guid
) : byte[];
guidData System.Guid
Represents a globally unique identifier (GUID) that identifies the private data to retrieve.
System.Byte[]
Returns an array of bytes that contains the requested private data.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value. NotFoundException The requested Guid was not found.
BaseTexture, IndexBuffer, Surface, VertexBuffer
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center