TablesOfContents.MarkEntry(Range, Object, Object, Object, Object) 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 a TC (Table of Contents Entry) field after the specified range. The method returns a Field object representing the TC field.
public Microsoft.Office.Interop.Word.Field MarkEntry (Microsoft.Office.Interop.Word.Range Range, ref object Entry, ref object EntryAutoText, ref object TableID, ref object Level);
abstract member MarkEntry : Microsoft.Office.Interop.Word.Range * 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 TableID As Object, Optional ByRef Level As Object) As Field
Parameters
- Entry
- Object
Optional Object. The text that appears in the table of contents or table of figures. 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).
- TableID
- Object
Optional Object. A one-letter identifier for the table of figures or table of contents item (for example, "i" for an "illustration").
- Level
- Object
Optional Object. A level for the entry in the table of contents or table of figures.