Share via


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)

Syntax

'Declaration
<GuidAttribute("000209B1-0000-0000-C000-000000000046")> _
Public Interface Replacement
'Usage
Dim instance As Replacement
[GuidAttribute("000209B1-0000-0000-C000-000000000046")]
public interface Replacement

Remarks

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.

See Also

Reference

Replacement Members

Microsoft.Office.Interop.Word Namespace