AutoTextEntries Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기