Frame.Find Method

Language:

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,
    Stringname
);
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.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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