GridPattern.Cached 属性

定义

获取此 GridPattern 中已缓存的 UI 自动化UI Automation 属性值。Gets the cached UI 自动化UI Automation property values for this GridPattern.

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

属性值

一个结构,它包含控件模式中已缓存的 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.

有关可用属性及其用法的信息,请参阅 GridPattern.GridPatternInformationFor information on the properties available and their use, see GridPattern.GridPatternInformation.

适用于