Share via


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

Provides access to the parent volume texture object, if the current surface is a child level of a volume texture.

Definition

Visual Basic Public Function GetContainer( _
    ByVal interfaceId As GuidLeave Site _
) As Object
C# public object GetContainer(
    GuidLeave Site interfaceId
);
C++ public:
ObjectLeave SiteGetContainer(
    GuidLeave Site interfaceId
);
JScript public function GetContainer(
    interfaceId : GuidLeave Site
) : ObjectLeave Site;

Parameters

interfaceId System.Guid

Return Value

System.Object
An ObjectLeave Site that represents the returned container.

Remarks

Exceptions

InvalidCallException

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