Share via


tagName Property (Windows CE 5.0)

Send Feedback

Contains the element name.

[Script]

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

[C/C++]

C/C++ Syntax

HRESULT get_tagName(BSTR* tagName);

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

General Remarks

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

IXMLDOMElement

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.