ValuePattern::Cached Property
.NET Framework (current version)
Gets the cached UI Automation property values for this ValuePattern.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
public: property ValuePattern::ValuePatternInformation Cached { ValuePattern::ValuePatternInformation get(); }
Property Value
Type: System.Windows.Automation::ValuePattern::ValuePatternInformationThe cached property values.
| Exception | Condition |
|---|---|
| InvalidOperationException | The requested property is not in the cache. |
Cached property values must have been previously requested using a CacheRequest. To get the value of a property at the current point in time, get the property by using Current.
For information on the properties available and their use, see ValuePattern::ValuePatternInformation.
.NET Framework
Available since 3.0
Available since 3.0
ValuePattern Class
System.Windows.Automation Namespace
TextPattern Insert Text Sample
Show: