ITextSearchService.FindAll(FindData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for all the occurrences of the search string.
public:
System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Text::SnapshotSpan> ^ FindAll(Microsoft::VisualStudio::Text::Operations::FindData findData);
public System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.SnapshotSpan> FindAll (Microsoft.VisualStudio.Text.Operations.FindData findData);
abstract member FindAll : Microsoft.VisualStudio.Text.Operations.FindData -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.SnapshotSpan>
Public Function FindAll (findData As FindData) As Collection(Of SnapshotSpan)
Parameters
- findData
- FindData
The data to use for this search.
Returns
A list of all the matches, or null if no matches were found.
Exceptions
The UseRegularExpressions flag of the find options is set and the search string is an invalid regular expression.
findData
is null.