AutoCorrectEntry 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 AutoCorrect entry.
public interface class AutoCorrectEntry
[System.Runtime.InteropServices.Guid("00020947-0000-0000-C000-000000000046")]
public interface AutoCorrectEntry
type AutoCorrectEntry = interface
Public Interface AutoCorrectEntry
- Attributes
Remarks
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(Range) method to insert an AutoCorrect entry at the specified range.
Use either the Add(String, String) or AddRichText(String, Range) method to add an AutoCorrect entry to the list of available entries.
Properties
Application |
Returns a 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. |
RichText |
Returns a value that indicates if formatting is stored with the AutoCorrect entry replacement text. |
Value |
Returns or sets the value of the AutoCorrect entry. |
Methods
Apply(Range) |
Replaces a range with the value of the specified AutoCorrect entry. |
Delete() |
Deletes the specified object. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기