Microsoft XML SDK 2.6 - XML Reference

IXMLDOMAttribute::name Method

IXMLDOMAttribute::get_name Method

Contains the attribute name.

Visual Basic Syntax

strValue = oXMLDOMAttribute.name

C/C++ Syntax

HRESULT get_name(
    BSTR *attributeName);

Parameters

attributeName [out]
Name of the attribute. The value is the same as the XMLDOMNode object's nodeName property.

C/C++ Return Values

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

See Also

IXMLDOMAttribute Interface