Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Associates data with the resource that is intended for use by the application. Data is passed by value, and multiple sets of data can be associated with a single resource.
Definition
Visual Basic Public Sub SetPrivateData( _
ByVal guidData As Guid, _
ByVal privateData() As Byte _
)C# public void SetPrivateData(
GuidguidData,
byte[] privateData
);C++ public:
void SetPrivateData(
GuidguidData,
array<unsigned char>^ privateData
);JScript public function SetPrivateData(
guidData : Guid,
privateData : byte[]
);
Parameters
guidData System.Guid
A globally unique identifier (GUID) that identifies the private data to set.privateData System.Byte[]
A Bytearray that contains the private data to associate with the resource.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
Microsoft DirectX could not allocate sufficient memory to complete the method call.
The privateData parameter is null.
Applies To
.gif)