AuthenticationProperties.SetDateTimeOffset Method

Definition

Sets or removes a DateTimeOffset value in the Items collection.

C#
protected void SetDateTimeOffset (string key, DateTimeOffset? value);

Parameters

key
String

Property key.

value
Nullable<DateTimeOffset>

Value to set or null to remove the property.

Applies to

Produkt Versiounen
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0