AuthenticationProperties.SetDateTimeOffset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.