Partilhar via


ElementModelContainerAutomationPeer.GetAutomationIdCore Method

Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. Called by GetAutomationId().

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Protected Overrides Function GetAutomationIdCore As String
protected override string GetAutomationIdCore()
protected:
virtual String^ GetAutomationIdCore() override
protected override function GetAutomationIdCore() : String

Return Value

The automation identifier for the element associated with the FrameworkElementAutomationPeer, or Empty() if there isn't an automation identifier.

See Also

ElementModelContainerAutomationPeer Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Controls Namespace