Microsoft SDK for Java

getChild

This method of the ElementCollection class retrieves a specified item from the collection, given the item’s index.

Syntax

public Element getChild(int index);

Return Value

Returns the requested child node; returns null if not found.

Parameters

index The index of the item in the element collection.

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