SynchronizedCollection<T>.IList.IndexOf Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines the zero-based index of an element in the collection.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

int IList.IndexOf(
	object value
)

Parameters

value
Type: System.Object

The element in the collection whose index is being determined.

Return Value

Type: System.Int32

The index of the value if found in the collection; otherwise, -1.

.NET Framework
Available since 3.0
Return to top
Show: