Share via


_OlkListBox.ListCount Property

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

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

Syntax

'Declaration
ReadOnly Property ListCount As Integer
    Get
'Usage
Dim instance As _OlkListBox
Dim value As Integer

value = instance.ListCount
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

_OlkListBox Interface

_OlkListBox Members

Microsoft.Office.Interop.Outlook Namespace