SearchMatch.UpdateForReplace
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
SearchMatch.UpdateForReplace
Syntax
SearchMatch.UpdateForReplace( replacementString)
Purpose
Updates all the SearchMatch objects a replace operation affects. This method updates all the property paths and match locations of the current and neighboring SearchMatch objects as needed to make them consistent with the replace operation the replacementString parameter specifies.
Remarks
This method does not perform the actual replace operation. Use PropertyObject objects to edit the file or property before calling this method.
Parameters
replacementString As String
[In] Specifies the string with which the matched item was replaced.