SPMobileComponent.MobileContext, propriété (Microsoft.SharePoint.MobileControls)
Gets an object holding information about the context that is especially relevant to mobile computing, such as the markup language of the mobile device.
Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)
Syntaxe
'Déclaration
Protected Overridable ReadOnly Property MobileContext As SPMobileContext
'Utilisation
Dim value As SPMobileContext
value = Me.MobileContext
protected virtual SPMobileContext MobileContext { get; }
Valeur de la propriété
An SPMobileContext object holding mobile context information.
Notes
The default implementation returns the value of the MobileContext property of the SharePointContext property. Use MobileContext instead of Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.MobileContext to simplify your code. Do not override MobileContext or you create a chance that its properties will get values inconsistent with those of Microsoft.SharePoint.MobileControls.SPMobileComponent.SharePointContext.MobileContext.
Voir aussi
Référence
SPMobileComponent, classe
Membres SPMobileComponent
Microsoft.SharePoint.MobileControls, espace de noms