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

Gets the current SharePoint site.

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

Syntaxe

'Déclaration
Public Overridable ReadOnly Property Web As SPWeb
'Utilisation
Dim instance As SPMobileComponent
Dim value As SPWeb

value = instance.Web
public virtual SPWeb Web { get; }

Valeur de la propriété

An SPWeb that represents the current SharePoint site.

Notes

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.

Voir aussi

Référence

SPMobileComponent, classe
Membres SPMobileComponent
Microsoft.SharePoint.MobileControls, espace de noms