Share via


tagName Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Contains the element name.

Script Syntax

            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.

<book ISBN="1572318546">

Remarks

C/C++ Syntax

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.

    <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.

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:

IXMLDOMElement