AutomationPattern.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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.