IXMLElement::get_tagNameIXMLElement::get_tagName*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IXMLDocument::createElement
*Next Topic: IXMLElement::put_tagName

IXMLElement::get_tagName

HRESULT IXMLElement::get_tagName(
    BSTR * pTagName)

Returns the name of the tag as a string.

pTagName
Indirect pointer in which to return the tag name.

The caller can use SysFreeString to free the string. The name is always all uppercase. The name of the comment element is returned as "!". The other META tags have names that correspond to the special character followed by the META tag name, such as the following:

The name of <?XML ...> is "?XML".


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