public int Find(object [] key) { if (sort == null || sort.Length == 0) { throw new ArgumentException("Find finds a row based on a Sort order, and no Sort order is specified"); } if (Index == null) { UpdateIndex(true); } int index = -1; try { index = Index.FindIndex(key); } catch (FormatException) { // suppress exception } catch (InvalidCastException) { // suppress exception } return(index); }