Share via


TablesOfContents.Add2000 Method

Reserved for internal use.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Add2000 ( _
    Range As Range, _
    ByRef UseHeadingStyles As Object, _
    ByRef UpperHeadingLevel As Object, _
    ByRef LowerHeadingLevel As Object, _
    ByRef UseFields As Object, _
    ByRef TableID As Object, _
    ByRef RightAlignPageNumbers As Object, _
    ByRef IncludePageNumbers As Object, _
    ByRef AddedStyles As Object, _
    ByRef UseHyperlinks As Object, _
    ByRef HidePageNumbersInWeb As Object _
) As TableOfContents
'Usage
Dim instance As TablesOfContents
Dim Range As Range
Dim UseHeadingStyles As Object
Dim UpperHeadingLevel As Object
Dim LowerHeadingLevel As Object
Dim UseFields As Object
Dim TableID As Object
Dim RightAlignPageNumbers As Object
Dim IncludePageNumbers As Object
Dim AddedStyles As Object
Dim UseHyperlinks As Object
Dim HidePageNumbersInWeb As Object
Dim returnValue As TableOfContents

returnValue = instance.Add2000(Range, _
    UseHeadingStyles, UpperHeadingLevel, _
    LowerHeadingLevel, UseFields, TableID, _
    RightAlignPageNumbers, IncludePageNumbers, _
    AddedStyles, UseHyperlinks, HidePageNumbersInWeb)
TableOfContents Add2000(
    Range Range,
    ref Object UseHeadingStyles,
    ref Object UpperHeadingLevel,
    ref Object LowerHeadingLevel,
    ref Object UseFields,
    ref Object TableID,
    ref Object RightAlignPageNumbers,
    ref Object IncludePageNumbers,
    ref Object AddedStyles,
    ref Object UseHyperlinks,
    ref Object HidePageNumbersInWeb
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Word.TableOfContents

See Also

Reference

TablesOfContents Interface

TablesOfContents Members

Microsoft.Office.Interop.Word Namespace