Share via


AuthenticationProperties.SetBool(String, Nullable<Boolean>) Method

Definition

Set or remove a Boolean value in the Items collection.

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))

Parameters

key
String

Property key.

value
Nullable<Boolean>

Value to set or null to remove the property.

Applies to