_OlkComboBox.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
<DispIdAttribute()> _
Property ListIndex As Integer
    Get
    Set
'Usage
Dim instance As _OlkComboBox
Dim value As Integer

value = instance.ListIndex

instance.ListIndex = value
[DispIdAttribute()]
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

_OlkComboBox Interface

_OlkComboBox Members

Microsoft.Office.Interop.Outlook Namespace