Düzenle

Aracılığıyla paylaş


AutomationProperty.LookupById(Int32) Method

Definition

Retrieves an AutomationProperty that encapsulates a specified numerical identifier.

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

Parameters

id
Int32

The property identifier.

Returns

Remarks

Normally, properties are identified by an AutomationProperty object. This method can be used to create such an object when only the numerical identifier (the Id inherited from AutomationIdentifier) is known.

Applies to