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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.