다음을 통해 공유


CommandBarComboBoxClass.Caption Property

Gets or sets the caption of the control.

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

Syntax

‘선언
Public Overridable Property Caption As String
    Get
    Set
‘사용 방법
Dim instance As CommandBarComboBoxClass
Dim value As String

value = instance.Caption

instance.Caption = value
public virtual string Caption { get; set; }
public:
virtual property String^ Caption {
    String^ get ();
    void set (String^ value);
}
abstract Caption : string with get, set
override Caption : string with get, set
function get Caption () : String
function set Caption (value : String)

Property Value

Type: System.String
The caption.

Implements

_CommandBarComboBox.Caption

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

CommandBarComboBoxClass Members

Microsoft.VisualStudio.CommandBars Namespace