AutomationIdentifier.ProgrammaticName Property


Gets the registered programmatic name.

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

Public ReadOnly Property ProgrammaticName As String

Property Value

Type: System.String

The programmatic name.

ProgrammaticName is intended for debugging and diagnostic purposes only. The string is not localized.

This property should not be used in string comparisons. To determine if two properties are the same, compare the property identifiers directly.

The following example displays the programmatic name of each property supported by an AutomationElement.

Dim properties As AutomationProperty() = element.GetSupportedProperties()
Dim prop As AutomationProperty
For Each prop In properties
Next prop

.NET Framework
Available since 3.0
Return to top