AutomationElement.GetCachedPropertyValue Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: