SPListCollection properties

The SPListCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of lists in the collection. (Overrides SPBaseCollection.Count.)
Public property IncludeMobileDefaultViewUrl Gets or sets a Boolean value that specifies whether to return the URL of the default mobile view for lists in the collection.
Public property IncludeRootFolder Gets or sets a Boolean value that specifies whether the root folder of a list in the collection is returned by the RootFolder property.
Public property Item[Guid] Gets the list object from the collection that has the specified GUID.
Public property Item[Int32] Gets the list object at the specified index in the collection.
Public property Item[String] Gets the list object that has the specified name from the collection.
Public property ListsForCurrentUser Gets or sets a Boolean value that specifies whether only lists to which the current user has permissions are returned from the collection.
Public property Web Gets the parent Web site of the collection.

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See also

Reference

SPListCollection class

Microsoft.SharePoint namespace