FreezableCollection<T>.IndexOf Method (T)

 

Searches for the specified object and returns the zero-based index of the first occurrence within the entire FreezableCollection<T>.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public int IndexOf(
	T value
)

Parameters

value
Type: T

The object to locate in the FreezableCollection<T>.

Return Value

Type: System.Int32

The zero-based index of the first occurrence of value within the entire FreezableCollection<T>, if found; otherwise, -1.

.NET Framework
Available since 3.0
Return to top
Show: