XFile.GetChild Method

Language:

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

Retrieves an XFileData child object in this XFile object.

Definition

Visual Basic .NET Public Function GetChild( _
    ByVal index As Integer _
) As XFileData
C# public XFileData GetChild(
    int index
);
Managed C++ public: XFileData* GetChild(
    int index
);
JScript .NET public function GetChild(
    index : int
) : XFileData;

Parameters

index System.Int32. Identifier (ID) of the child object to retrieve.

Return Value

Microsoft.DirectX.Direct3D.XFileData . The XFileData child object retrieved.

Remarks

Exception GraphicsException.ErrorCode Cause
GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid.
XFileErrorCodes.NoMoreObjects No more child objects are available.


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

Feedback? Please provide us with your comments on this topic.