SPContext.MobileContext property

Gets the mobile context for the Microsoft SharePoint Foundation context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property MobileContext As SPMobileContext
    Get
'Usage
Dim instance As SPContext
Dim value As SPMobileContext

value = instance.MobileContext
public SPMobileContext MobileContext { get; }

Property value

Type: Microsoft.SharePoint.SPMobileContext
An SPMobileContext object that represents the mobile context.

See also

Reference

SPContext class

SPContext members

Microsoft.SharePoint namespace