Export (0) Print
Expand All
XML
Expand Minimize

tagName Property (Compact 2013)

3/26/2014

Contains the element name.


strValue = oXMLDOMElement.tagName;
HRESULT get_tagName(  BSTR* tagName);

Script

None.

C/C++

tagName

[out, retval] String that represents the element's name. For example, the tag name is "book" in the following tag.

<book ISBN="1572318546">

Script

String. It contains the string that represents the element's name. For example, the tag name is "book" in the following tag.

<book ISBN="1572318546">

C/C++

S_OK

Value returned if successful.

S_FALSE

Value when returning Null.

E_INVALIDARG

Value returned if tagName is Null.

This property is read-only, and applies to the following interface:

IXMLDOMElement

Header

msxml2.h,
msxml2.idl

Show:
© 2014 Microsoft