| SearchResults Methods |
The SearchResults type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds a new search result to the collection.
| |
| AreEqual |
Determines whether two search results are equal, by comparing the segments of the
memory translation units.
| |
| Cap |
Caps the number of search results to at most maxCapacity elements. If the object holds
less than the maximum number, this method has no effect.
| |
| CheckForMultipleTranslations |
Count the number of exact matches in the result and set the MultipleTranslations flag and penalty accordingly.
This is only valid for normal searches; nothing will be changed for concordance searches.
| |
| Clear |
Removes all results.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Merge |
Appends addtional search results to the current list of search results. Note that other fields, such as
the source tokens or the source word count, are not merged (although they may differ for cross-TM
searches).
| |
| RemoveAll |
Removes all the elements that match the condition defined by the specified predicate
| |
| RemoveDuplicates |
Removes any duplicate search results. The duplicate with the lowest index
is kept, and other duplicates are removed.
| |
| RemoveDuplicates(FuncSearchResult, SearchResult, SearchResult) |
Removes any duplicate search results.
| |
| Sort |
Sorts the results in this instance using the currently set sort order (see SortOrder),
or the default sort order if no sort order is set.
| |
| Sort(String) |
Sorts the results in this instance based on the specified sort order.
| |
| Sort(SortSpecification) |
Sorts the results in this instance based on the specified sort order.
| |
| Sort(SortSpecification, SearchResultsSearchResultComparer) |
Sorts the results in this instance based on the specified sort order.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |