1 namespace System.Data.ProviderBase
3 partial class FieldNameLookup
5 public int IndexOfName(string fieldName)
7 if (null == _fieldNameLookup)
11 // via case sensitive search, first match with lowest ordinal matches
12 object value = _fieldNameLookup[fieldName];
13 return ((null != value) ? (int)value : -1);