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

Windows SharePoint Services 3
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)

protected virtual SPMobileContext MobileContext { get; }

Valeur de la propriété

An SPMobileContext object holding mobile context information.

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.