Udostępnij za pośrednictwem


Właściwość ISharePointCommandContext.Site —

Pobiera Microsoft.SharePoint.SPSite , reprezentuje zbiór witryn programu SharePoint, na którym polecenie jest wykonywane.

Przestrzeń nazw:  Microsoft.VisualStudio.SharePoint.Commands
Zestaw:  Microsoft.VisualStudio.SharePoint.Commands (w Microsoft.VisualStudio.SharePoint.Commands.dll)

Składnia

'Deklaracja
ReadOnly Property Site As SPSite
SPSite Site { get; }

Wartość właściwości

Typ: SPSite
Zbiór witryn programu SharePoint, na którym polecenie jest wykonywane.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ISharePointCommandContext Interfejs

Przestrzeń nazw Microsoft.VisualStudio.SharePoint.Commands