AutomationElement.GetCachedPropertyValue Method
.NET Framework 4
Retrieves the cached value of the specified property from an AutomationElement.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
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. |
|
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.