ControlType.LookupById Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves a ControlType that encapsulates a specified numerical identifier.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static ControlType LookupById(
	int id
)

Parameters

id
Type: System.Int32

Identifier of the control type.

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.

.NET Framework
Available since 3.0
Return to top
Show: