SPMobileUtility.SetSPMobileCookieValue method
Set cookie for SPMobileCookieName.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub SetSPMobileCookieValue ( _
context As HttpContext, _
value As String, _
isDelete As Boolean _
)
'Usage
Dim context As HttpContext
Dim value As String
Dim isDelete As BooleanSPMobileUtility.SetSPMobileCookieValue(context, _
value, isDelete)
public static void SetSPMobileCookieValue(
HttpContext context,
string value,
bool isDelete
)
Parameters
context
Type: System.Web.HttpContextThe current HttpContext object, cookie value.
- value
Type: System.String
- isDelete
Type: System.Boolean