IXMLElement::get_AttributeIXMLElement::get_Attribute*
*Contents  *Index  *Topic Contents
*Previous Topic: IXMLElement::setAttribute
*Next Topic: IXMLElement::removeAttribute

IXMLElement::get_Attribute

HRESULT IXMLElement::get_Attribute(
    BSTR strPropertyName, 
    VARIANT* PropertyValue)

Allows for the retrieval of an attribute's value.

strPropertyName
Name of the attribute.
PropertyValue
Indirect pointer in which to return the value. Always returned as a BSTR.

An attribute's name is provided. The value of the attribute is returned as a variant, which is always of type VT_BSTR. The caller must release the value by calling VariantClear.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.