Microsoft XML 2.5 SDK


 

IXMLDOMAttribute::get_name Method

[This is preliminary documentation and subject to change.]

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 IXMLDOMNode 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.