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.
- Returns S_OK if successful, or E_FAIL on failure.
- 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".
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.