ControlType.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 a ControlType that encapsulates a specified numerical identifier.
public:
static System::Windows::Automation::ControlType ^ LookupById(int id);
public static System.Windows.Automation.ControlType LookupById (int id);
static member LookupById : int -> System.Windows.Automation.ControlType
Public Shared Function LookupById (id As Integer) As ControlType
Parameters
- id
- Int32
Identifier of the control type.
Returns
Remarks
Normally the type of a control is identified by a ControlType object. This method enables you to construct such an object when only the numerical identifier is known.
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.