共用方式為


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
)

參數

請參閱

參照

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace