ITextSearchService::FindAll Method (FindData)

 

Searches for all the occurrences of the search string.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Collection<SnapshotSpan>^ FindAll(
	FindData findData
)

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.

Return to top
Show: