Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Gets the value of the named attribute.
Syntax
HRESULT getAttribute( BSTR name, VARIANT * value);
Parameters
- name
- [in] Name of the attribute to return.
- value
- [out] String that contains the attribute value. Returns the empty string if the named attribute does not have a specified or default value.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Another way to retrieve attributes is to use the IDOMNamedNodeMap object's getNamedItem method.
See Also
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.