title: Abort a FindAll
body: <p>I'm looking for a way to abort a FindAll search of list of class items</p>
  <pre><code>Public Class Wind1
      Public sName as String
      Public sPos as String
      Public iYear as integer
  End Class
  
  Function SearchName(byRef sNameToFind as String) as List(Of Wind1)
           SearchName = MyList.FindAll(AddressOf FindName, sNameToFind)
  End Function
  Function FindName(ByVal lWind as Wind1,byVal sNameToFind as String) as Boolean
      Return lWind.sName.Contains(sNameToFind)
  end Function
  </code></pre>
  <p>In Code I'd get a list of Class items which have a certain name
  dim MyList as List(Of Wind1)
  ' fill up MyList with items</p>
  <pre><code>dim FoundList as List(Of Wind1) = SearchName(MyList, &quot;Fred&quot;)
  </code></pre>
  <p>'but this statement make take a long time in which I'd want to cancel the search</p>
  <p>I suppose I could stick it in a separate thread I could terminate,
  but I was basically wondering if there is anyway to abort the 'FindAll statement</p>