XFile.GetChild Method

Language:

Retrieves an XFileData child object in this XFile object.

Definition

Visual Basic Public Function GetChild( _
    ByVal index As Integer _
) As XFileData
C# public XFileData GetChild(
    int index
);
C++ public:
XFileDataGetChild(
    int index
);
JScript 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.


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

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