Indexes.MarkEntry Method
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.
Inserts an XE (Index Entry) field after the specified range. Returns a Field object representing the XE field.
public Microsoft.Office.Interop.Word.Field MarkEntry (Microsoft.Office.Interop.Word.Range Range, ref object Entry, ref object EntryAutoText, ref object CrossReference, ref object CrossReferenceAutoText, ref object BookmarkName, ref object Bold, ref object Italic, ref object Reading);
abstract member MarkEntry : Microsoft.Office.Interop.Word.Range * obj * obj * obj * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.Field
Public Function MarkEntry (Range As Range, Optional ByRef Entry As Object, Optional ByRef EntryAutoText As Object, Optional ByRef CrossReference As Object, Optional ByRef CrossReferenceAutoText As Object, Optional ByRef BookmarkName As Object, Optional ByRef Bold As Object, Optional ByRef Italic As Object, Optional ByRef Reading As Object) As Field
Parameters
- Range
- Range
Required Range object. The location of the entry. The XE field is inserted after Range
.
- Entry
- Object
Optional Object. The text that appears in the index. To indicate a subentry, include the main entry text and the subentry text, separated by a colon (:) (for example, "Introduction:The Product").
- EntryAutoText
- Object
Optional Object. The AutoText entry name that includes text for the index, table of figures, or table of contents (Entry
is ignored).
- CrossReference
- Object
Optional Object. A cross-reference that will appear in the index (for example, "See Apples").
- CrossReferenceAutoText
- Object
Optional Object. The AutoText entry name that contains the text for a cross-reference (CrossReference
is ignored).
- BookmarkName
- Object
Optional Object. The name of the bookmark that marks the range of pages you want to appear in the index. If this argument is omitted, the number of the page containing the XE field appears in the index.
- Bold
- Object
Optional Object. True to add bold formatting to the entry page numbers in the index.
- Italic
- Object
Optional Object. True to add italic formatting to the entry page numbers in the index.
- Reading
- Object
Optional Object. True shows an index entry in the right location when indexes are sorted phonetically (East Asian languages only).