ITextSearchService::FindAll Method (FindData)
Visual Studio 2015
Searches for all the occurrences of the search string.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Parameters
- findData
-
Type:
Microsoft.VisualStudio.Text.Operations::FindData
The data to use for this search.
Return Value
Type: System.Collections.ObjectModel::Collection<SnapshotSpan>^A list of all the matches, or null if no matches were found.
| Exception | Condition |
|---|---|
| ArgumentNullException | findData is null. |
| ArgumentException | The UseRegularExpressions flag is set and the search string is an invalid regular expression. |
Show: