FormRichTextControl.replaceText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
replaceText(String, String, Int32, Int32, Int32) | |
replaceText(String, String, Int32) | |
replaceText(String, String, Int32, Int32) | |
replaceText(String) | |
replaceText() | |
replaceText(String, String) |
replaceText(String, String, Int32, Int32, Int32)
public:
virtual int replaceText(System::String ^ _findStr, System::String ^ _replaceStr, int _start, int _end, int _flags);
public virtual int replaceText (string _findStr, string _replaceStr, int _start, int _end, int _flags);
abstract member replaceText : string * string * int * int * int -> int
override this.replaceText : string * string * int * int * int -> int
Public Overridable Function replaceText (_findStr As String, _replaceStr As String, _start As Integer, _end As Integer, _flags As Integer) As Integer
Parameters
- _findStr
- String
- _replaceStr
- String
- _start
- Int32
- _end
- Int32
- _flags
- Int32
Returns
Applies to
replaceText(String, String, Int32)
public:
virtual int replaceText(System::String ^ text1, System::String ^ text2, int num1);
public virtual int replaceText (string text1, string text2, int num1);
abstract member replaceText : string * string * int -> int
override this.replaceText : string * string * int -> int
Public Overridable Function replaceText (text1 As String, text2 As String, num1 As Integer) As Integer
Parameters
- text1
- String
- text2
- String
- num1
- Int32
Returns
Applies to
replaceText(String, String, Int32, Int32)
public:
virtual int replaceText(System::String ^ text1, System::String ^ text2, int num1, int num2);
public virtual int replaceText (string text1, string text2, int num1, int num2);
abstract member replaceText : string * string * int * int -> int
override this.replaceText : string * string * int * int -> int
Public Overridable Function replaceText (text1 As String, text2 As String, num1 As Integer, num2 As Integer) As Integer
Parameters
- text1
- String
- text2
- String
- num1
- Int32
- num2
- Int32
Returns
Applies to
replaceText(String)
public:
virtual int replaceText(System::String ^ text1);
public virtual int replaceText (string text1);
abstract member replaceText : string -> int
override this.replaceText : string -> int
Public Overridable Function replaceText (text1 As String) As Integer
Parameters
- text1
- String
Returns
Applies to
replaceText()
public:
virtual int replaceText();
public virtual int replaceText ();
abstract member replaceText : unit -> int
override this.replaceText : unit -> int
Public Overridable Function replaceText () As Integer
Returns
Applies to
replaceText(String, String)
public:
virtual int replaceText(System::String ^ text1, System::String ^ text2);
public virtual int replaceText (string text1, string text2);
abstract member replaceText : string * string -> int
override this.replaceText : string * string -> int
Public Overridable Function replaceText (text1 As String, text2 As String) As Integer
Parameters
- text1
- String
- text2
- String