ListTemplate.Convert Method
Converts a multiple-level list to a single-level list, or vice versa.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Convert ( _
ByRef Level As Object _
) As ListTemplate
'Usage
Dim instance As ListTemplate
Dim Level As Object
Dim returnValue As ListTemplate
returnValue = instance.Convert(Level)
ListTemplate Convert(
ref Object Level
)
Parameters
- Level
Type: System.Object%
Optional Object. The level to use for formatting the new list. When converting a multiple-level list to a single-level list, this argument can be a number from 1 through 9. When converting a single-level list to a multiple-level list, 1 is the only valid value. If this argument is omitted, 1 is the default value.
Return Value
Type: Microsoft.Office.Interop.Word.ListTemplate
Remarks
You cannot use the Convert method on a list template that is derived from the ListGalleries collection.