共用方式為


_CommandBarComboBox.Caption Property

Gets or sets the caption of the control.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'宣告
Property Caption As String
    Get
    Set
'用途
Dim instance As _CommandBarComboBox
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

CommandBarControl.Caption

.NET Framework Security

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

Microsoft.VisualStudio.CommandBars Namespace