SPListCollection Methods

The SPListCollection type exposes the following members.

  Name Description
Public method Add(String, String, SPListTemplate) Creates a list with the specified title, description, and list template object.
Public method Add(String, String, SPListTemplateType) Creates a list with the specified title, description, and list definition type.
Public method Add(String, String, SPListTemplate, SPDocTemplate) Creates a document library with the specified title, description, list template object, and document template object.
Public method Add(String, String, String, SPListDataSource) Creates a list with the specified title, description, URL, and external data source.
Public method Add(String, String, String, String, Int32, String) Creates a document library with the specified title, description, URL, Feature ID, list template type, and document template type.
Public method Add(String, String, String, String, Int32, String, SPListTemplate.QuickLaunchOptions) Creates a list based on the specified title, description, URL, Feature ID, template type, document template type, and options for displaying a link to the list in Quick Launch.
Public method Add(String, String, String, String, Int32, String, String, SPFeatureDefinition, SPListTemplate.QuickLaunchOptions) Creates a list based on the specified title, description, URL, Feature ID, template type, document template type, the list feature definition, customizations to the feature definition, and options for displaying a link to the list in Quick Launch.
Public method CreateListFromRpc Creates a list from a name value collection that represents the arguments of a form submission.
Public method Delete Deletes the list with the specified GUID from the collection.
Protected method EnsureListsData Checks data for a specified list and, if necessary, updates the list to ensure that the most current data is used.
Public method EnsureSiteAssetsLibrary A list that is designated as a default asset location for images or other files which the users upload to their wiki pages.
Public method EnsureSitePagesLibrary A list that is designated as a default location for wiki pages.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetList(Guid, Boolean) Returns the list with the specified GUID from the collection.
Public method GetList(Guid, Boolean, Boolean) Returns the list with the specified GUID from the collection, including metadata for views and forms, and security data.
Public method GetList(Guid, Boolean, Boolean, Boolean) Returns the list with the specified GUID from the collection, including metadata for views and forms, security data, and related fields.
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Public method TryGetList Returns the list with the specified title from the collection, but returns a null reference (Nothing in Visual Basic) instead of an exception if the list does not exist.
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Top
Show: