AutomationProperty.LookupById Method (Int32)


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

Retrieves an AutomationProperty that encapsulates a specified numerical identifier.

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

public static AutomationProperty LookupById(
	int id


Type: System.Int32

The property identifier.

Normally, properties are identified by an AutomationProperty object. This method can be used to create such an object when only the numerical identifier (the Id inherited from AutomationIdentifier) is known.

.NET Framework
Available since 3.0
Return to top