AutoCorrectEntries Interface

Definition

A collection of AutoCorrectEntry objects that represent all the AutoCorrect entries available to Microsoft Word. The AutoCorrectEntries collection includes all the entries in the AutoCorrect dialog box (Tools menu).

public interface class AutoCorrectEntries : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020948-0000-0000-C000-000000000046")]
public interface AutoCorrectEntries : System.Collections.IEnumerable
type AutoCorrectEntries = interface
    interface IEnumerable
Public Interface AutoCorrectEntries
Implements IEnumerable
Attributes
Implements

Remarks

Use the Entries property to return the AutoCorrectEntries collection.

Use the Add(String, String) or the AddRichText(String, Range) method to add an AutoCorrect entry to the list of available entries.

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.

Properties

Application

Returns a Application object that represents the creator of the specified object.

Count

Returns the number of items in the specified collection.

Creator

Returns a value that indicates the application in which the specified object was created.

Item[Object]

Returns an individual object in a collection.

Parent

Returns the parent object of the specified object.

Methods

Add(String, String)

Adds a plain-text AutoCorrect entry to the list of available AutoCorrect entries.

AddRichText(String, Range)

Creates a formatted AutoCorrect entry, preserving all text attributes of the specified range.

GetEnumerator()

Applies to