AutoTextEntry 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.
Represents a single AutoText entry.
public interface class AutoTextEntry
[System.Runtime.InteropServices.Guid("00020936-0000-0000-C000-000000000046")]
public interface AutoTextEntry
type AutoTextEntry = interface
Public Interface AutoTextEntry
- Attributes
Remarks
The AutoTextEntry object is a member of the AutoTextEntries collection. The AutoTextEntries collection contains all the AutoText entries in the specified template. The entries are listed on the AutoText tab in the AutoCorrect dialog box (Tools menu).
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.
Use the Add(String, Range) method to add an AutoTextEntry object to the AutoTextEntries collection.
Properties
Application |
Returns an Application object that represents the Microsoft Word Application. |
Creator |
Returns a value that indicates the application in which the specified object was created. |
Index |
Returns a value that represents the position of an item in a collection. |
Name |
Returns or sets the name of the specified object. |
Parent |
Returns the parent object of the specified object. |
StyleName |
Returns the name of the style applied to the specified AutoText entry. |
Value |
Returns or sets the value of the AutoText entry. |
Methods
Delete() |
Deletes the specified object. |
Insert(Range, Object) |
Inserts the AutoText entry in place of the specified range. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기