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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.