Edit

Bagikan melalui


AutomationPattern.LookupById(Int32) Method

Definition

Retrieves an AutomationPattern that encapsulates a specified numerical identifier.

public:
 static System::Windows::Automation::AutomationPattern ^ LookupById(int id);
public static System.Windows.Automation.AutomationPattern LookupById (int id);
static member LookupById : int -> System.Windows.Automation.AutomationPattern
Public Shared Function LookupById (id As Integer) As AutomationPattern

Parameters

id
Int32

Identifier of the pattern.

Returns

The AutomationPattern specified by id.

Applies to