次の方法で共有


_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
<DispIdAttribute()> _
ReadOnly Property ListCount As Integer
    Get
'Usage
Dim instance As _OlkListBox
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

_OlkListBox Interface

_OlkListBox Members

Microsoft.Office.Interop.Outlook Namespace