コード例 #1
0
 /// <summary>
 /// Checks a search string to see if any of the data objects exclude it.
 /// </summary>
 public bool DataExcludes(string search)
 {
     if (Data1.Contains(search) || Data2.Contains(search) || Data3.Contains(search) || Data4.Contains(search) || Data5.Contains(search) ||
         Data6.Contains(search) || Data7.Contains(search) || Data8.Contains(search) || Data9.Contains(search) || Data10.Contains(search))
     {
         return(false);
     }
     return(true);
 }