Freigeben über


ITextSearchService2.Find-Methode (SnapshotPoint, String, FindOptions)

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

Syntax

'Declaration
Function Find ( _
    startingPosition As SnapshotPoint, _
    searchPattern As String, _
    options As FindOptions _
) As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> Find(
    SnapshotPoint startingPosition,
    string searchPattern,
    FindOptions options
)
Nullable<SnapshotSpan> Find(
    SnapshotPoint startingPosition, 
    String^ searchPattern, 
    FindOptions options
)
abstract Find : 
        startingPosition:SnapshotPoint * 
        searchPattern:string * 
        options:FindOptions -> Nullable<SnapshotSpan> 
function Find(
    startingPosition : SnapshotPoint, 
    searchPattern : String, 
    options : FindOptions
) : Nullable<SnapshotSpan>

Parameter

  • searchPattern
    Typ: String

Rückgabewert

Typ: Nullable<SnapshotSpan>

.NET Framework-Sicherheit

Siehe auch

Referenz

ITextSearchService2 Schnittstelle

Find-Überladung

Microsoft.VisualStudio.Text.Operations-Namespace