共用方式為


AuthenticationProperties.IsPersistent 屬性

取得或設定值,這個值表示驗證是否持續。

命名空間:  Microsoft.Owin.Security
組件:  Microsoft.Owin (在 Microsoft.Owin.dll 中)

語法

'宣告
Public Property IsPersistent As Boolean 
    Get 
    Set
'用途
Dim instance As AuthenticationProperties 
Dim value As Boolean 

value = instance.IsPersistent

instance.IsPersistent = value
public bool IsPersistent { get; set; }
public:
property bool IsPersistent {
    bool get ();
    void set (bool value);
}
member IsPersistent : bool with get, set
function get IsPersistent () : boolean 
function set IsPersistent (value : boolean)

屬性值

型別:System.Boolean
如果驗證持續,則為 true,否則為 false。

請參閱

參考

AuthenticationProperties 類別

Microsoft.Owin.Security 命名空間