次の方法で共有


Document.ReplaceText(String, String, Int32) Method

Definition

Microsoft Internal Use Only.

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

Parameters

FindText
String

The text to find.

ReplaceText
String

The replacement text.

Flags
Int32

Flags from vsFindOptions.

Returns

true if the text was replaced, otherwise false.

Attributes

Applies to