共用方式為


CommandBarComboBoxClass.DropDownLines Property

Gets or sets the number of lines in the dropdown box. This property is deprecated

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

Syntax

'宣告
Public Overridable Property DropDownLines As Integer
    Get
    Set
'用途
Dim instance As CommandBarComboBoxClass
Dim value As Integer

value = instance.DropDownLines

instance.DropDownLines = value
public virtual int DropDownLines { get; set; }
public:
virtual property int DropDownLines {
    int get ();
    void set (int value);
}
abstract DropDownLines : int with get, set
override DropDownLines : int with get, set
function get DropDownLines () : int
function set DropDownLines (value : int)

Property Value

Type: System.Int32
The number of lines in the dropdown box. This property is deprecated.

Implements

_CommandBarComboBox.DropDownLines

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

CommandBarComboBoxClass Members

Microsoft.VisualStudio.CommandBars Namespace