Share via


Resource.FreePrivateData(Guid) Method (Microsoft.DirectX.Direct3D)

Frees the specified private data associated with the current resource.

Definition

Visual Basic Public Sub FreePrivateData( _
    ByVal guidData As GuidLeave Site _
)
C# public void FreePrivateData(
    GuidLeave Site guidData
);
C++ public:
void FreePrivateData(
    GuidLeave Site guidData
);
JScript public function FreePrivateData(
    guidData : GuidLeave Site
);

Parameters

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

Remarks

Exceptions

InvalidCallException

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

NotFoundException

The requested GuidLeave Site was not found.

Applies To

BaseTexture, IndexBuffer, Surface, VertexBuffer