AuthenticationProperties.SetDateTimeOffset Method

Definition

Sets or removes a DateTimeOffset value in the Items collection.

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

Parameters

key
String

Property key.

value
Nullable<DateTimeOffset>

Value to set or null to remove the property.

Applies to