ISharePointCommandContext.Site Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.