Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IUIAutomationElement::GetCachedPropertyValue Method

Retrieves a property value from the cache for this UI Automation element.

Syntax


HRESULT GetCachedPropertyValue(          PROPERTYID propertyId,
    VARIANT *retVal
);

Parameters

propertyId
[in] The identifier of the property. For a list of property IDs, see Property Identifiers.
retVal
[out, retval] The address of a VARIANT that receives the value of the cached property.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Microsoft UI Automation properties of the double type support Not a Number (NaN) values. When retrieving a property of the double type, a client can use the _isnan function to determine whether the property is a NaN value.

See Also

Community Additions

Show:
© 2015 Microsoft