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
- Range
Type: Microsoft.Office.Interop.Word.Range
- UseHeadingStyles
Type: System.Object%
- UpperHeadingLevel
Type: System.Object%
- LowerHeadingLevel
Type: System.Object%
- UseFields
Type: System.Object%
- TableID
Type: System.Object%
- RightAlignPageNumbers
Type: System.Object%
- IncludePageNumbers
Type: System.Object%
- AddedStyles
Type: System.Object%
Return Value
Type: Microsoft.Office.Interop.Word.TableOfContents