CommandBar.NameLocal Property
Returns the name of a built-in command bar as it's displayed in the language version of the container application, or returns or sets the name of a custom command bar.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property NameLocal As String
Get
Set
'Usage
Dim instance As CommandBar
Dim value As String
value = instance.NameLocal
instance.NameLocal = value
string NameLocal { get; set; }
Property Value
Type: System.String
Remarks
If you attempt to set this property for a built-in command bar, an error occurs.
The local name of a built-in command bar is displayed in the title bar (when the command bar isn't docked) and in the list of available command bars, wherever that list is displayed in the container application.
If you change the value of the NameLocal property for a custom command bar, the value of Name changes as well, and vice versa.