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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour