SortableCollection.IndexOf Method

Returns the zero-based index of the first occurrence of a value in the array.

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As Object _
) As Integer
'Usage
Dim instance As SortableCollection(Of T)
Dim item As Object
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf (
    Object item
)
public:
virtual int IndexOf (
    Object^ item
) sealed

Parameters

item

The value to search for.

Return Value

The index.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SortableCollection Generic Class
SortableCollection Members
Microsoft.Expression.Encoder Namespace