編輯

共用方式為


ValuePatternIdentifiers.Pattern Field

Definition

Identifies the ValuePattern control pattern.

public: static initonly System::Windows::Automation::AutomationPattern ^ Pattern;
public static readonly System.Windows.Automation.AutomationPattern Pattern;
 staticval mutable Pattern : System.Windows.Automation.AutomationPattern
Public Shared ReadOnly Pattern As AutomationPattern 

Field Value

Remarks

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in ValuePattern.

The pattern identifier (ID) is passed to methods such as GetCurrentPattern to retrieve the control pattern of interest from the specified UI Automation element.

Applies to

See also