Share via


Volume.GetPrivateData(Guid) Method (Microsoft.DirectX.Direct3D)

Copies the private data associated with the volume to a provided buffer.

Definition

Visual Basic Public Function GetPrivateData( _
    ByVal guidData As GuidLeave Site _
) As Byte()
C# public byte[] GetPrivateData(
    GuidLeave Site guidData
);
C++ public:
array<unsigned char>^ GetPrivateData(
    GuidLeave Site guidData
);
JScript public function GetPrivateData(
    guidData : GuidLeave Site
) : byte[];

Parameters

guidData System.Guid
A GuidLeave Site that represents the identifier of the private data being requested.

Return Value

System.Byte[]
A ByteLeave Site array that contains the requested data.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

NotFoundException

The requested item was not found.

MoreDataException

More data is available than the specified buffer size can hold.

See Also