SPMobileUtility.SetSPMobileCookieValue method
SPMobileCookieName 設定 cookie。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Sub SetSPMobileCookieValue ( _
context As HttpContext, _
value As String, _
isDelete As Boolean _
)
'用途
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
)
參數
context
Type: System.Web.HttpContext目前 HttpContext 的物件,cookie 值。
- value
Type: System.String
- isDelete
Type: System.Boolean