AdvisableCollection<T>.IndexOf Method |
Determines the index of a specific item in the IList<T>.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
C#
public int IndexOf( T item )
Parameters
Return Value
Type: Int32The index of item if found in the list; otherwise, -1.