AutomationPeer::GetAutomationIdCore Method ()


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

When overridden in a derived class, is called by GetAutomationId.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

virtual String^ GetAutomationIdCore() abstract

Return Value

Type: System::String^

The string that contains the identifier.

The value of the automation identifier is the AutomationId property. If that property is not set, the value is the Name property.

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top