Compartir a través de


ControlFormat.ListCount Property

Returns the number of entries in a list box or combo box. Returns 0 (zero) if there are no entries in the list.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ListCount As Integer
    Get
    Set
'Usage
Dim instance As ControlFormat
Dim value As Integer

value = instance.ListCount

instance.ListCount = value
int ListCount { get; set; }

Property Value

Type: System.Int32

See Also

Reference

ControlFormat Interface

ControlFormat Members

Microsoft.Office.Interop.Excel Namespace