IXMLElement::get_parentIXMLElement::get_parent*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IXMLElement::put_tagName
*Next Topic: IXMLElement::setAttribute

IXMLElement::get_parent

HRESULT IXMLElement::get_parent(
    IXMLElement ** pParent)

Every element in the tree, except the root of a document, has a parent. This parent element is AddRef'ed before being returned, and it is up to the caller to call IUnknown::Release on the returned parent element.

pParent
Indirect pointer in which to return an address of the parent element. The parent element is always nonnull except for the root.

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