Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMElement::setAttrib...     IXMLDOMElement Interface    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMElement::get_tagName Method


Contains the element name, the name that appears within the tag.

Visual Basic Syntax

strValue = oXMLDOMElement.tagName

C/C++ Syntax

HRESULT get_tagName(
    BSTR *tagName);

Parameters

tagName
[out] String that represents the element's name. For example, the tag name is "book" in the following tag:
<book ISBN="1572318546">

C/C++ Return Values

S_OK
Value returned if successful.
S_FALSE
Value when returning null. 
E_INVALIDARG
Value returned if tagName is null.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.