You are here: Symbol Reference
Symbol Reference
> XmlNotepad Namespace > Interfaces > IFindTarget Interface (XmlNotepad) > IFindTarget Methods (XmlNotepad) > IFindTarget.ReplaceCurrent Method (XmlNotepad)
IFindTarget.ReplaceCurrent Method (XmlNotepad)
Close
domv10-banner-200
IFindTarget.ReplaceCurrent Method

Replaces the current match with the given text. You must call FindNext before calling this method.

Namespace: XmlNotepad

Syntax
C++
C#
Visual Basic
IDL
JavaScript
bool ReplaceCurrent(string replaceWith);
Parameters
Description
string replaceWith
The string to replace the matching span with

True if a match was replaced, or false if there is no current match right now.

Copyright © 2019. All rights reserved.