TextSelection.ReplaceText(String, String, Int32) Methode

Definition

Nur Microsoft-interne Verwendung.

bool ReplaceText(std::wstring const & Pattern, std::wstring const & Replace, int vsFindOptionsValue = 0);
[System.Runtime.InteropServices.DispId(71)]
[System.Runtime.InteropServices.TypeLibFunc(64)]
public bool ReplaceText (string Pattern, string Replace, int vsFindOptionsValue = 0);
[<System.Runtime.InteropServices.DispId(71)>]
[<System.Runtime.InteropServices.TypeLibFunc(64)>]
abstract member ReplaceText : string * string * int -> bool
Public Function ReplaceText (Pattern As String, Replace As String, Optional vsFindOptionsValue As Integer = 0) As Boolean

Parameter

Pattern
String

Das zu suchende Muster.

Replace
String

Die Zeichenfolge, mit der gefundener Text ersetzt werden soll.

vsFindOptionsValue
Int32

Die Suchflags.

Gibt zurück

Boolean

true , wenn der Text ersetzt wurde, andernfalls false .

Attribute

Gilt für