Lists Interface

A collection of List objects that represent all the lists in the specified document.

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

Syntax

'Declaration
<GuidAttribute("00020993-0000-0000-C000-000000000046")> _
Public Interface Lists _
    Inherits IEnumerable
'Usage
Dim instance As Lists
[GuidAttribute("00020993-0000-0000-C000-000000000046")]
public interface Lists : IEnumerable

Remarks

Use the Lists property to return the Lists collection.

Use Lists(index), where index is the index number, to return a single List object.

When you use a For Each...Next loop to enumerate the Lists collection, the lists in a document are returned in reverse order.

To add a new list to a document, use the ApplyListTemplate method with the ListFormat object for a specified range.

You can manipulate the individual List objects within a document, but for more precise control you should work with the ListFormat object.

Picture-bulleted lists are not included in the Lists collection.

See Also

Reference

Lists Members

Microsoft.Office.Interop.Word Namespace