Share via


ISharePointCommandContext.Site Property

Definition

Gets a Microsoft.SharePoint.SPSite that represents the SharePoint site collection on which the command is run.

public:
 property Microsoft::SharePoint::SPSite ^ Site { Microsoft::SharePoint::SPSite ^ get(); };
public Microsoft.SharePoint.SPSite Site { get; }
member this.Site : Microsoft.SharePoint.SPSite
Public ReadOnly Property Site As SPSite

Property Value

Microsoft.SharePoint.SPSite

The SharePoint site collection on which the command is run.

Applies to