IXMLElement::get_childrenIXMLElement::get_children*
*Contents  *Index  *Topic Contents
*Previous Topic: IXMLElement::removeAttribute
*Next Topic: IXMLElement::get_type

IXMLElement::get_children

HRESULT IXMLElement::get_children(
    IXMLElementCollection * * ppChildren)

Retrieves the collection of an element's children.

ppChildren
Indirect pointer in which to return an address of the element collection. The ppChildren parameter is NULL if no children are present.

The collection allows the application to make queries about the size of the collection as well as enumerate through the children or access any of them by index. If no children exist, ppChildren is set to NULL and the return code is S_FALSE. The caller must call (ppChildren)->Release when it is done using this collection. Further discussion of IXMLElementCollection is available later in this document.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.