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.