Share via


_OlkComboBox.TopIndex Property

Returns or sets an Integer (int in C#) value that represents the index of the item at the top of the displayed portion of the list in the combo box. Read/write.

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

Syntax

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

value = instance.TopIndex

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

Property Value

Type: System.Int32

Remarks

As the list scrolls, the item at the top of the list will change, and the value of this property will change to reflect the item currently displayed at the top of the list.

The index value is zero-based. The default value is -1, indicating that no special ordering should be applied.

See Also

Reference

_OlkComboBox Interface

_OlkComboBox Members

Microsoft.Office.Interop.Outlook Namespace