_CommandBarComboBox.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
'宣告
Property Style As MsoComboStyle
Get
Set
'用途
Dim instance As _CommandBarComboBox
Dim value As MsoComboStyle
value = instance.Style
instance.Style = value
MsoComboStyle Style { get; set; }
property MsoComboStyle Style {
MsoComboStyle get ();
void set (MsoComboStyle value);
}
abstract Style : MsoComboStyle with get, set
function get Style () : MsoComboStyle
function set Style (value : MsoComboStyle)
Property Value
Type: Microsoft.VisualStudio.CommandBars.MsoComboStyle
The MsoComboStyle.
Remarks
This property can be set to either msoComboLabel or msoComboNormall(), otherwise it throws an ArgumentOutOfRangeException.
.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.