SPMobileUtility.GetSPMobileCookieValue method
Returns the value of SPMobileCookieName if exist.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetSPMobileCookieValue ( _
context As HttpContext, _
cookieName As String _
) As String
'Usage
Dim context As HttpContext
Dim cookieName As String
Dim returnValue As String
returnValue = SPMobileUtility.GetSPMobileCookieValue(context, _
cookieName)
public static string GetSPMobileCookieValue(
HttpContext context,
string cookieName
)
Parameters
context
Type: System.Web.HttpContextThe current HttpContext object, cookie Name.
- cookieName
Type: System.String
Return value
Type: System.String