This topic has not yet been rated - Rate this topic

AutomationElement.GetCachedPropertyValue Method

Retrieves the cached value of the specified property from an AutomationElement.
Name Description
AutomationElement.GetCachedPropertyValue (AutomationProperty) Retrieves the value of the specified property from the cache of this AutomationElement. An appropriate default value for the property type is returned for properties not explicitly supported by the target user interface (UI) element.
AutomationElement.GetCachedPropertyValue (AutomationProperty, Boolean) Retrieves the value of the specified property from the cache of this AutomationElement, optionally ignoring any default property.

GetCachedPropertyValue retrieves the specified property from the cache of the AutomationElement. To retrieve the current property, call GetCurrentPropertyValue.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.