Partager via


ISharePointCommandContext.Web Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.VisualStudio.SharePoint.Commands
Assembly:  Microsoft.VisualStudio.SharePoint.Commands (in Microsoft.VisualStudio.SharePoint.Commands.dll)

Syntax

'Declaration
ReadOnly Property Web As SPWeb
SPWeb Web { get; }

Property Value

Type: SPWeb
The SharePoint site on which the command is run.

.NET Framework Security

See Also

Reference

ISharePointCommandContext Interface

Microsoft.VisualStudio.SharePoint.Commands Namespace