System.Data.Tests.DataRowTest2.AssertNotFound C# (CSharp) Method

AssertNotFound() private static method

private static AssertNotFound ( DataRow rc, DataColumn dc, DataRowVersion version ) : bool
rc DataRow
dc DataColumn
version DataRowVersion
return bool
        private static bool AssertNotFound(DataRow rc, DataColumn dc, DataRowVersion version)
        {
            try
            {
                object value = rc[dc, version];
                return false;
            }
            catch (VersionNotFoundException)
            {
                return true;
            }
        }
DataRowTest2