Share via


name Property (IXMLDOMAttribute)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Contains the attribute name.

Script Syntax

            strValue = oXMLDOMAttribute.name;

Remarks

Script Parameters

None.

Script Return Value

String. It returns the name of the attribute. The value is the same as the nodeName property of the IXMLDOMNode object.

C/C++ Syntax

HRESULT get_name(
  BSTR* attributeName
);

Remarks

C/C++Parameters

C/C++ Return Values

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.
  • E_INVALIDARG
    Value returned if attributeName 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 objects and interfaces:

See Also

Concepts

nodeName Property