SPListCollection methods
SharePoint 2013
The SPListCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(String, String, SPListTemplate) | Creates a list with the specified title, description, and list template object. |
|
Add(String, String, SPListTemplateType) | Creates a list with the specified title, description, and list definition type. |
|
Add(String, String, SPListTemplate, SPDocTemplate) | Creates a document library with the specified title, description, list template object, and document template object. |
|
Add(String, String, String, SPListDataSource) | Creates a list with the specified title, description, URL, and external data source. |
|
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. |
|
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. |
|
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. |
|
CreateListFromRpc | Creates a list from a name value collection that represents the arguments of a form submission. |
|
Delete | Deletes the list with the specified GUID from the collection. |
|
EnsureListsData | Checks data for a specified list and, if necessary, updates the list to ensure that the most current data is used. |
|
EnsureSiteAssetsLibrary | A list that is designated as a default asset location for images or other files which the users upload to their wiki pages. |
|
EnsureSitePagesLibrary | A list that is designated as a default location for wiki pages. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
|
GetHashCode | (Inherited from Object.) |
|
GetList(Guid, Boolean) | Returns the list with the specified GUID from the collection. |
|
GetList(Guid, Boolean, Boolean) | Returns the list with the specified GUID from the collection, including metadata for views and forms, and security data. |
|
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. |
|
GetType | (Inherited from Object.) |
|
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
|
TryGetList | Returns the list with the specified title from the collection, but returns null instead of an exception if the list does not exist. |
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |