Determines the index of a specific item in the
System.Collections.Generic.IList`1
.
- Namespace
- CsvHelper
.Configuration - Containing Type
- MemberMapCollection
Syntax
public virtual int IndexOf(MemberMap item)
Parameters
Name | Type | Description |
---|---|---|
item | MemberMap | The object to locate in the System.Collections.Generic.IList`1 .
|
Return Value
Type | Description |
---|---|
int | The index of item if found in the list; otherwise, -1. |