| Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
|
||||||||
|
|||||||||
Retrieves the value of object's specific style attribute as a VARIANT.
Syntax
HRESULT getAttribute(
BSTR strAttributeName,
long LFlags,
VARIANT * AttributeValue
);
Parameters
- strAttributeName
- Required. A string (BSTR) specifying the element's style attribute name.
- LFlags
- Optional. One or more of the following flags may be specified:
0 Default. Performs a property search that is not case-sensitive and returns an interpolated value if the property is found. 1 Performs a case-sensitive property search. To find a match, the uppercase and lowercase letters in sAttrName must exactly match those in the attribute name. 2 Returns the value exactly as it was set in script or in the source document.
- AttributeValue
- Required. Address of a VARIANT structure that returns the object's specific style attribute.
Return Value
Returns S_OK if successful, or an error value otherwise.
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.