AuthenticationProperties.SetBool(String, Nullable<Boolean>) 方法

定義

設定或移除 Boolean 集合中的 Items 值。

protected:
 void SetBool(System::String ^ key, Nullable<bool> value);
protected void SetBool (string key, bool? value);
member this.SetBool : string * Nullable<bool> -> unit
Protected Sub SetBool (key As String, value As Nullable(Of Boolean))

參數

key
String

屬性索引鍵。

value
Nullable<Boolean>

要設定或 null 移除 屬性的值。

適用於