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