Resource.GetPrivateData(Guid) Method (Microsoft.DirectX.Direct3D)
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 that contains the requested private data.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
The requested Guid was not found.
Applies To