AutoCorrectEntry interface
TOC
Collapse the table of content
Expand the table of content

AutoCorrectEntry interface

Represents a single AutoCorrect entry.

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

[GuidAttribute("00020947-0000-0000-C000-000000000046")]
public interface AutoCorrectEntry

The AutoCorrectEntry object is a member of the AutoCorrectEntries collection. The AutoCorrectEntries collection includes the entries in the AutoCorrect dialog box (Tools menu).

Use Entries(index), where index is the AutoCorrect entry name or index number, to return a single AutoCorrectEntry object. You must exactly match the spelling (but not necessarily the capitalization) of the name, as it's shown under Replace in the AutoCorrect dialog box.

Use the Apply method to insert an AutoCorrect entry at the specified range.

Use either the Add or AddRichText method to add an AutoCorrect entry to the list of available entries.

Show:
© 2016 Microsoft