ValuePattern.Cached ValuePattern.Cached ValuePattern.Cached ValuePattern.Cached Property

定義

取得這個 ValuePattern 的快取 UI 自動化UI Automation 屬性值。Gets the cached UI 自動化UI Automation property values for this ValuePattern.

public:
 property System::Windows::Automation::ValuePattern::ValuePatternInformation Cached { System::Windows::Automation::ValuePattern::ValuePatternInformation get(); };
public System.Windows.Automation.ValuePattern.ValuePatternInformation Cached { get; }
member this.Cached : System.Windows.Automation.ValuePattern.ValuePatternInformation
Public ReadOnly Property Cached As ValuePattern.ValuePatternInformation

屬性值

例外狀況

要求的屬性不在快取中。The requested property is not in the cache.

備註

先前必須使用來CacheRequest要求快取屬性值。Cached property values must have been previously requested using a CacheRequest. 若要取得目前時間點的屬性值, 請使用Current取得屬性。To get the value of a property at the current point in time, get the property by using Current.

如需可用屬性及其用法的詳細資訊, 請ValuePattern.ValuePatternInformation參閱。For information on the properties available and their use, see ValuePattern.ValuePatternInformation.

適用於

另請參閱