編輯

共用方式為


ListTemplate.Convert(Object) Method

Definition

Converts a multiple-level list to a single-level list, or vice versa.

public Microsoft.Office.Interop.Word.ListTemplate Convert (ref object Level);
abstract member Convert : obj -> Microsoft.Office.Interop.Word.ListTemplate
Public Function Convert (Optional ByRef Level As Object) As ListTemplate

Parameters

Level
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.

Returns

Remarks

You cannot use the Convert method on a list template that is derived from the ListGalleries collection.

Applies to