Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the caption of the control.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Property Caption As String
Get
Set
'Usage
Dim instance As _CommandBarButton
Dim value As String
value = instance.Caption
instance.Caption = value
string Caption { get; set; }
property String^ Caption {
String^ get ();
void set (String^ value);
}
abstract Caption : string with get, set
function get Caption () : String
function set Caption (value : String)
Property Value
Type: System.String
The caption.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.