GetCachedPropertyValue Method

AutomationElement.GetCachedPropertyValue Method

 

Retrieves the cached value of the specified property from an AutomationElement.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

NameDescription
System_CAPS_pubmethodGetCachedPropertyValue(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.

System_CAPS_pubmethodGetCachedPropertyValue(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.

Return to top
Show:
© 2016 Microsoft