Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Add method of the SPListCollection class creates a document library with the specified title, description, list template object, and document template object.
Parameters
strTitle A string that contains the title.
strDescription A string that contains the description.
template A Microsoft.SharePoint.SPListTemplate object that represents the list definition or list template.
documentTemplate A Microsoft.SharePoint.SPDocTemplate object that represents the document template.
Return Value
A GUID that identifies the new list.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security