WindowPattern.Cached Property

 
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.

Gets the cached UI Automation property values for this WindowPattern.

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

public WindowPattern.WindowPatternInformation Cached { get; }

Property Value

Type: System.Windows.Automation.WindowPattern.WindowPatternInformation

A structure containing the cached UI Automation property values for the control pattern.

Exception Condition
InvalidOperationException

The requested property is not in the cache.

Cached property values must have been previously requested using a CacheRequest. Use Current to get the current value of a property.

For information on the properties available and their use, see WindowPattern.WindowPatternInformation.

.NET Framework
Available since 3.0
Return to top
Show: