Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
Contains the element name.
Script Syntax
Copy Code | |
---|---|
strValue = oXMLDOMElement.tagName; |
Script Parameters
None.
Script Return Value
String. It contains the string that represents the element's name. For example, the tag name is "book" in the following tag.
Copy Code | |
---|---|
<book ISBN="1572318546"> |
Remarks
C/C++ Syntax
Copy Code | |
---|---|
HRESULT get_tagName( BSTR* tagName ); |
Remarks
C/C++ Parameters
- tagName
-
[out, retval] String that represents the element's name. For example, the tag name is "book" in the following tag.
Copy Code <book ISBN="1572318546">
C/C++ Return Values
- S_OK
-
Value returned if successful.
- S_FALSE
-
Value when returning Null.
- E_INVALIDARG
-
Value returned if tagNameis Null.
Requirements
Header | msxml2.h, msxml2.idl |
Windows Embedded CE | Windows CE .NET 4.0 and later |
General Remarks
This property is read-only, and applies to the following interface: