Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMAttribute::value P...     IXMLDOMAttribute Interfac...    
Web Workshop  |  XML (Extensible Markup Language)

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



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.