name Property (IXMLDOMAttribute) (Compact 2013)

3/26/2014

Contains the attribute name.

Syntax

strValue = oXMLDOMAttribute.name;
HRESULT get_name(
  BSTR* attributeName
);

Parameters

Script

None.

C/C++

Return Value

Script

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

C/C++

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

Remarks

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

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties
nodeName Property