Edit

Share via


_OlkComboBox.GetItem(Int32) Method

Definition

Obtains a String (string in C#) that represents an item at the specified location in the list of the combo box control.

public:
 System::String ^ GetItem(int Index);
public string GetItem (int Index);
Public Function GetItem (Index As Integer) As String

Parameters

Index
Int32

A zero-based value that specifies the location of an item in the list.

Returns

A String (string in C#) value that represents the item at the specified location in the list.

Remarks

If Index is outside the range of the allowed values (between zero and ListCount-1), then an out-of-bounds error will be returned.

Applies to