Share via


ThreadSafeReadOnlyObservableCollection<T>.IndexOf Method (T)

 

Returns the index of the first occurrence of an object in the collection.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Syntax

public int IndexOf(
    T item
)
public:
virtual int IndexOf(
    T item
) sealed
Public Function IndexOf (
    item As T
) As Integer

Parameters

  • item
    Type: T

    The item to locate in the collection.

Return Value

Type: System.Int32

The index of the item.

Implements

IList<T>.IndexOf(T)

See Also

IndexOf Overload
ThreadSafeReadOnlyObservableCollection<T> Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top