ITextSearchService2.FindForReplace-Methode (SnapshotPoint, String, String, FindOptions, String%)
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function FindForReplace ( _
startingPosition As SnapshotPoint, _
searchPattern As String, _
replacePattern As String, _
options As FindOptions, _
<OutAttribute> ByRef expandedReplacePattern As String _
) As Nullable(Of SnapshotSpan)
Nullable<SnapshotSpan> FindForReplace(
SnapshotPoint startingPosition,
string searchPattern,
string replacePattern,
FindOptions options,
out string expandedReplacePattern
)
Nullable<SnapshotSpan> FindForReplace(
SnapshotPoint startingPosition,
String^ searchPattern,
String^ replacePattern,
FindOptions options,
[OutAttribute] String^% expandedReplacePattern
)
abstract FindForReplace :
startingPosition:SnapshotPoint *
searchPattern:string *
replacePattern:string *
options:FindOptions *
expandedReplacePattern:string byref -> Nullable<SnapshotSpan>
function FindForReplace(
startingPosition : SnapshotPoint,
searchPattern : String,
replacePattern : String,
options : FindOptions,
expandedReplacePattern : String
) : Nullable<SnapshotSpan>
Parameter
- startingPosition
Typ: Microsoft.VisualStudio.Text.SnapshotPoint
- searchPattern
Typ: String
- replacePattern
Typ: String
- options
Typ: Microsoft.VisualStudio.Text.Operations.FindOptions
- expandedReplacePattern
Typ: String%
Rückgabewert
Typ: Nullable<SnapshotSpan>
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.