SPListEvent.Site Property
Gets the parent site of the list in which the event occurs.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property Site As SPSite
Get
Dim instance As SPListEvent
Dim value As SPSite
value = instance.Site
public SPSite Site { get; }
Property Value
Type: Microsoft.SharePoint.SPSite
A Microsoft.SharePoint.SPSite object that represents the parent site.
Remarks
For more information about document library events, see Walkthrough: Handling Document Library Events.