Partager via


_OlkComboBox.ListCount Property

Returns an Integer (int in C#) value that specifies the number of elements in the drop-down list of the combo box control. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property ListCount As Integer
    Get
'Usage
Dim instance As _OlkComboBox
Dim value As Integer

value = instance.ListCount
[DispIdAttribute()]
int ListCount { get; }

Property Value

Type: System.Int32

Remarks

The default value is zero, indicating that there are no items in the list.

See Also

Reference

_OlkComboBox Interface

_OlkComboBox Members

Microsoft.Office.Interop.Outlook Namespace