WindowPattern.Cached 屬性

定義

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

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

屬性值

結構,包含控制項模式的快取 UI 自動化UI Automation 屬性值。A structure containing the cached UI 自動化UI Automation property values for the control pattern.

例外狀況

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

備註

先前必須使用來CacheRequest要求快取屬性值。Cached property values must have been previously requested using a CacheRequest. 使用Current來取得屬性的目前值。Use Current to get the current value of a property.

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

適用於