Share via


RibbonMenuButtonAutomationPeer.GetNameCore Method

Gets the name that describes the element that is associated with this RibbonMenuButtonAutomationPeer. This method is called by GetName.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Function GetNameCore As String
protected override string GetNameCore()
protected:
virtual String^ GetNameCore() override
abstract GetNameCore : unit -> string 
override GetNameCore : unit -> string 
protected override function GetNameCore() : String

Return Value

Type: System.String
The name that describes the element that is associated with this RibbonMenuButtonAutomationPeer.

.NET Framework Security

See Also

Reference

RibbonMenuButtonAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace