Microsoft DirectX 9.0 SDK Update (October 2004)

Frame.Destroy Method

Language:

Note: This documentation is preliminary and is subject to change.

Destroys the subtree of frames under the root, including the root.

Definition

Visual Basic .NET Public Shared Sub Destroy( _
    ByVal frameRoot As Frame, _
    ByVal allocHierarchy As AllocateHierarchy _
)
C# public static void Destroy(
    Frame frameRoot,
    AllocateHierarchy allocHierarchy
);
Managed C++ public: static void Destroy(
    Frame *frameRoot,
    AllocateHierarchy *allocHierarchy
);
JScript .NET public static function Destroy(
    frameRoot : Frame,
    allocHierarchy : AllocateHierarchy
);

Parameters

frameRoot Microsoft.DirectX.Direct3D.Frame. A Frame object that represents the root node in the frame hierarchy.
allocHierarchy Microsoft.DirectX.Direct3D.AllocateHierarchy. An AllocateHierarchy object used to deallocate nodes of the frame hierarchy.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center