SPListEventReceiver.ListAdding Method
Handles the event that occurs before a list is created on a website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overridable Sub ListAdding ( _
properties As SPListEventProperties _
)
'Usage
Dim instance As SPListEventReceiver
Dim properties As SPListEventProperties
instance.ListAdding(properties)
public virtual void ListAdding(
SPListEventProperties properties
)
Parameters
properties
Type: Microsoft.SharePoint.SPListEventPropertiesThe properties of the list event.
Remarks
This event is registered at the website or site collection where the list is created.