AutomationProperty.LookupById(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.