Frame.Find(Frame,String) Method (Microsoft.DirectX.Direct3D)

Finds the child frame of a root frame.

Definition

Visual Basic Public Shared Function Find( _
    ByVal frameRoot As Frame, _
    ByVal name As String _
) As Frame
C# public static Frame Find(
    Frame frameRoot,
    string name
);
C++ public:
static FrameFind(
    FrameframeRoot,
    StringLeave Sitename
);
JScript public static function Find(
    frameRoot : Frame,
    name : String
) : Frame;

Parameters

frameRoot Microsoft.DirectX.Direct3D.Frame
A Frame object that represents the root node in the frame hierarchy.
name System.String
String that represents the name of the child frame to find.

Return Value

Microsoft.DirectX.Direct3D.Frame
A Frame object that represents the located child frame.

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.