SPContext.MobileContext Property

Gets the mobile context for the Microsoft SharePoint Foundation context.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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