Surface.GetContainer(Guid) Method (Microsoft.DirectX.Direct3D)
Provides access to the parent cube texture or texture (mipmap) object.
Visual Basic Public Function GetContainer( _
ByVal interfaceId As Guid_
) As ObjectC# public object GetContainer(
GuidinterfaceId
);C++ public:
Object^ GetContainer(
GuidinterfaceId
);JScript public function GetContainer(
interfaceId : Guid
) : Object;
interfaceId System.Guid
System.Object
An Objectthat represents the newly created container.
This method provides access to the parent cube texture or texture mipmap object if the surface is a child level of a cube texture or mipmap. It also can provide access to the parent swap chain if the surface is a back buffer child.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Show:
