편집

다음을 통해 공유


AutoTextEntries Interface

Definition

A collection of AutoTextEntry objects that represent the AutoText entries in a template.

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

Remarks

The AutoTextEntries collection includes all the entries listed on the AutoText tab in the AutoCorrect dialog box (Tools menu).

Use the AutoTextEntries property to return the AutoTextEntries collection.

Use the Add(String, Range) method to add an AutoText entry to the AutoTextEntries collection.

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

Properties

Application

Returns a Application object that represents the Microsoft Word application.

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, Range)

Adds an AutoText entry to the list of available AutoText entries.

AppendToSpike(Range)

Deletes the specified range and adds the contents of the range to the Spike (a built-in AutoText entry).

GetEnumerator()

Applies to