次の方法で共有


CommandBarComboBoxClass.Style Property

Gets or sets the style of the combo box.

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

Syntax

'宣言
Public Overridable Property Style As MsoComboStyle
public virtual MsoComboStyle Style { get; set; }

Property Value

Type: Microsoft.VisualStudio.CommandBars.MsoComboStyle
The MsoComboStyle.

Implements

_CommandBarComboBox.Style

Remarks

This property can be set to either msoComboLabel or msoComboNormall, otherwise it throws an ArgumentOutOfRangeException.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

Microsoft.VisualStudio.CommandBars Namespace