Skybound AutoComplete

AutoComplete.ObjectCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a specified value in this instance.

[Visual Basic]
Overridable Public Function IndexOf( _
   ByVal value As Object _
) As Integer
[C#]
public virtual int IndexOf(
   object value
);

Parameters

value
The Object value to locate.

Return Value

The zero-based index of the first occurrence of value if found; otherwise, returns -1.

Exceptions

Exception Type Condition
ArgumentNullException The item parameter was a null reference (Nothing in Visual Basic).

See Also

AutoComplete.ObjectCollection Class | Skybound.AutoComplete Namespace