List Object
SharePoint Designer Developer Reference |
Contains information about the List object and the collaboration objects.
Remarks
The List object is a base class that defines the common members used by the different types of lists in Office SharePoint Designer. For example, the collaboration objects—the BasicList, Discussion, DocumentLibrary, and Survey objects—allow information to be shared and exchanged between different users and different Web sites. The List object is a member of the Lists collection.
Use Lists(Index), where Index is either the name of the list or its numeric position within the collection, to return a single List object. The following example displays the names of all lists in the active Web site. If the Web site contains no lists, a message is displayed to the user.
Visual Basic for Applications |
---|
|
Similarly, use the WebFolder object's List property to return the List object associated with the folder.
Use the List object's Fields property to return a collection of ListField objects that define the fields in the current list.
See Also