Replacement interface

Represents the replace criteria for a find-and-replace operation.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public interface Replacement

The properties and methods of the Replacement object correspond to the options in the Find and Replace dialog box.

Use the Replacement property to return a Replacement object.

To find and replace formatting, set both the find text and the replace text to empty strings ("") and set the Format argument of the Execute method to True.