Doc-O-Matic Live Demo / XmlNotepad Namespace / Interfaces / IFindTarget / IFindTarget Methods (XmlNotepad) / IFindTarget.ReplaceCurrent
IFindTarget.ReplaceCurrent
Close
domv10-banner-200
IFindTarget.ReplaceCurrent Method

Namespace: XmlNotepad

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

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 © 2020. All rights reserved.