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
- searchRange
Type : Microsoft.VisualStudio.Text.SnapshotSpan
- searchPattern
Type : String
- replacePattern
Type : String
- options
Type : Microsoft.VisualStudio.Text.Operations.FindOptions
- expandedReplacePattern
Type : String%
Valeur de retour
Type : Nullable<SnapshotSpan>
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.