IXMLElement::put_tagNameIXMLElement::put_tagName*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IXMLElement::get_tagName
*Next Topic: IXMLElement::get_parent

IXMLElement::put_tagName

HRESULT IXMLElement::put_tagName(
    BSTR  pTagName)

Sets the name of the tag and stores a copy of the string.

pTagName
Address of a string containing 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.