Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function FindAll ( _
findData As FindData _
) As Collection(Of SnapshotSpan)
Collection<SnapshotSpan> FindAll(
FindData findData
)
Collection<SnapshotSpan>^ FindAll(
FindData findData
)
abstract FindAll :
findData:FindData -> Collection<SnapshotSpan>
function FindAll(
findData : FindData
) : Collection<SnapshotSpan>
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | findData is nulla null reference (Nothing in Visual Basic). |
ArgumentException | The UseRegularExpressions flag is set and the search string is an invalid regular expression. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.