ReplaceCurrent Method
ReplaceCurrent(String, SearchOptions, Match)
When implemented by a class, replaces currently selected text.
Declaration
bool ReplaceCurrent(string replaceWith, SearchOptions options, Match match)
Parameters
Type | Name | Description |
---|---|---|
String | replaceWith | Text to replace. |
SearchOptions | options | Specifies parameters of search and replace. |
Match | match | Represents Match object if regular expression search successful. |
Returns
Type | Description |
---|---|
Boolean | True if succeed; otherwise false. |