Share via


TablesOfContents.AddOld Method

Reserved for internal use.

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

Syntax

'Declaration
Function AddOld ( _
    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 _
) 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 returnValue As TableOfContents

returnValue = instance.AddOld(Range, UseHeadingStyles, _
    UpperHeadingLevel, LowerHeadingLevel, _
    UseFields, TableID, RightAlignPageNumbers, _
    IncludePageNumbers, AddedStyles)
TableOfContents AddOld(
    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
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Word.TableOfContents

See Also

Reference

TablesOfContents Interface

TablesOfContents Members

Microsoft.Office.Interop.Word Namespace