共用方式為


CommandBarComboBoxClass.ListCount Property

Gets the number of items in the list.

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

Syntax

'宣告
Public Overridable ReadOnly Property ListCount As Integer
public virtual int ListCount { get; }

Property Value

Type: System.Int32
The number of items in the list.

Implements

_CommandBarComboBox.ListCount

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

Microsoft.VisualStudio.CommandBars Namespace