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: 6.6.14.0 (6.6.14.0)
C#
public int IndexOf( T item )
Parameters
Return Value
Type: Int32The index of item if found in the list; otherwise, -1.