Versión imprimible       Enviar     
Evaluar y enviar comentarios

  Encender vista de ancho de banda bajo
Office Core Primary Interop Assembly Reference
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)

Visual Basic
Dim commandBar1 As CommandBar

Dim returnValue As String
returnValue = commandBar1.NameLocal

Dim sampleValue As String
commandBar1.NameLocal = sampleValue
Visual Basic
Property NameLocal() As String
C#
string NameLocal {get; set;}
C++
property String^ NameLocal{
	String^ get();
	Void set(String^);
}
J#
public System.String get_NameLocal();
public void set_NameLocal(System.String);
JScript
function get NameLocal() : String;
function set NameLocal(String);

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2009 Microsoft Corporation. Reservados todos los derechos. Términos de uso  |  Marcas Registradas  |  Privacidad
Page view tracker