Resource.GetPrivateData Method

Language:

Copies the private data associated with a resource to a buffer.

Definition

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[];

Parameters

guidData System.Guid
Represents a globally unique identifier (GUID) that identifies the private data to retrieve.

Return Value

System.Byte[]
Returns an array of bytes Leave Site that contains the requested private data.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
NotFoundException The requested Guid Leave Site was not found.

Applies To

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