ControlType.LookupById Method (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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


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