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)

Usage

Dim Level As Object
Dim returnValue As ListTemplate
Dim listTemplate1 As ListTemplate
returnValue = listTemplate1.Convert(Level)

Syntax

Function Convert( _
    <InAttribute()> Optional ByRef Level As Object _
) As ListTemplate
ListTemplate Convert(
    [In, Optional] ref object Level
);
public: ListTemplate^ Convert(
    &Object^ Level
);
public ListTemplate Convert(
    /*in*/System.Object Level
);
function Convert(
     Level : Object
) : ListTemplate;

Parameters

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

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

ListTemplate Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

ListTemplate Members