다음을 통해 공유


tagName Property (Windows Embedded CE 6.0)

1/6/2010

Contains the element name.

Script Syntax

            strValue = oXMLDOMElement.tagName;

Ee503054.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503054.collapse(en-US,WinEmbedded.60).gifScript 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

Ee503054.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_tagName(
  BSTR* tagName
);

Remarks

Ee503054.collapse(en-US,WinEmbedded.60).gifC/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">
    

Ee503054.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.
  • E_INVALIDARG
    Value returned if tagName is Null.

Ee503054.collapse(en-US,WinEmbedded.60).gifRequirements

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

See Also

Reference

XML DOM Properties