SPMobileComponent.Web, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets the current SharePoint site.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public virtual SPWeb Web { get; }

Valeur de la propriété

An SPWeb that represents the current SharePoint site.

The default implementation returns the value of the Web property of the SharePointContext property. Use Web instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.Web to simplify your code. Do not override Web or you create a chance that its value will be inconsistent with the value of Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.Web.

Afficher: