Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

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)

Public Class istsImplementation
	Implements Lists
End Class
Dim istsImplementation1 As New istsImplementation()

public interface Lists : IEnumerable
public interface Lists implements IEnumerable
public interface Lists implements IEnumerable

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.

Development Platforms

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

Target Platforms