ITextSearchService2.FindForReplace, méthode (SnapshotSpan, String, String, FindOptions, String%)

Espace de noms :  Microsoft.VisualStudio.Text.Operations
Assembly :  Microsoft.VisualStudio.Text.Logic (dans Microsoft.VisualStudio.Text.Logic.dll)

Syntaxe

'Déclaration
Function FindForReplace ( _
    searchRange As SnapshotSpan, _
    searchPattern As String, _
    replacePattern As String, _
    options As FindOptions, _
    <OutAttribute> ByRef expandedReplacePattern As String _
) As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> FindForReplace(
    SnapshotSpan searchRange,
    string searchPattern,
    string replacePattern,
    FindOptions options,
    out string expandedReplacePattern
)
Nullable<SnapshotSpan> FindForReplace(
    SnapshotSpan searchRange, 
    String^ searchPattern, 
    String^ replacePattern, 
    FindOptions options, 
    [OutAttribute] String^% expandedReplacePattern
)
abstract FindForReplace : 
        searchRange:SnapshotSpan * 
        searchPattern:string * 
        replacePattern:string * 
        options:FindOptions * 
        expandedReplacePattern:string byref -> Nullable<SnapshotSpan> 
function FindForReplace(
    searchRange : SnapshotSpan, 
    searchPattern : String, 
    replacePattern : String, 
    options : FindOptions, 
    expandedReplacePattern : String
) : Nullable<SnapshotSpan>

Paramètres

  • searchPattern
    Type : String
  • replacePattern
    Type : String
  • expandedReplacePattern
    Type : String%

Valeur de retour

Type : Nullable<SnapshotSpan>

Sécurité .NET Framework

Voir aussi

Référence

ITextSearchService2 Interface

FindForReplace, surcharge

Microsoft.VisualStudio.Text.Operations, espace de noms