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.

See Also

PropertyObject

SearchResults

TypeCategories