_OlkListBox.ListIndex Property

Reurns or sets an Integer (int in C#) value that indicates the location of the currently selected element in the list of the combo box control. Read/write.

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

Syntax

'Declaration
Property ListIndex As Integer
    Get
    Set
'Usage
Dim instance As _OlkListBox
Dim value As Integer

value = instance.ListIndex

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

Property Value

Type: System.Int32

Remarks

ListIndex is a zero-based value indexing into the array of items in the list. The default value is -1, indicating that no item is selected.

See Also

Reference

_OlkListBox Interface

_OlkListBox Members

Microsoft.Office.Interop.Outlook Namespace