AdvisableKeyedCollection<TKey, TItem>.IndexOfItem Method |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
protected override int IndexOfItem( TItem item )
Parameters
- item
- Type: TItem
The object to locate in the AdvisableCollection<T>. The value can be null for reference types.
Return Value
Type: Int32The zero-based index of the first occurrence of item within the entire AdvisableCollection<T>, if found; otherwise, -1.