編輯

共用方式為


CommandBar.NameLocal Property

Definition

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.

public:
 property System::String ^ NameLocal { System::String ^ get(); void set(System::String ^ value); };
public string NameLocal { get; set; }
member this.NameLocal : string with get, set
Public Property NameLocal As String

Property Value

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.

Applies to