Share via


Frame.AppendChild(Frame,Frame) Method (Microsoft.DirectX.Direct3D)

Adds a child frame to a frame.

Definition

Visual Basic Public Shared Sub AppendChild( _
    ByVal parent As Frame, _
    ByVal child As Frame _
)
C# public static void AppendChild(
    Frame parent,
    Frame child
);
C++ public:
static void AppendChild(
    Frameparent,
    Framechild
);
JScript public static function AppendChild(
    parent : Frame,
    child : Frame
);

Parameters

parent Microsoft.DirectX.Direct3D.Frame
A Frame object that represents the parent node in the frame hierarchy.
child Microsoft.DirectX.Direct3D.Frame
A Frame object that represents the child node to add to the frame hierarchy.

Remarks

Exceptions

InvalidCallException

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

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.