Contents Index Topic Contents | ||
Previous Topic: Methods Next Topic: IXMLDocument::get_fileSize |
IXMLDocument::get_root
HRESULT IXMLDocument::get_root( IXMLElement **ppElem)Returns the root element of the document. The CHANNEL element is considered the root element. The caller must call IUnknown::Release on the document.
- Returns S_OK if successful. Possible error codes include E_OUTOFMEMORY and E_INVALIDARG.
- ppElem
- Indirect pointer in which to return the address of the root element's IXMLElement interface.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.