HitsFound property
Name
Sdl.MultiTerm.TMO.Interop.SearchInfo.HitsFound — Returns true or false depending on whether any hits have been found in a particular termbase.
Type
Boolean (read)
Index Parameters
none
Description
Via this property you can ascertain whether a particular termbase has yielded any results in the first place.
Sample
//execute search
HitTerms oHits = oSearch.Execute();
//retrieve information on search in the second termbase
SearchInfo oInfo;
oInfo = oSearch.SearchInfo[1];
Debug.WriteLine("Have any hits been found? " + oInfo.HitsFound);