Share via


OwinContext.Set<T>(String, T) Method

Definition

Sets the given key and value in the OWIN environment.

public virtual Microsoft.Owin.IOwinContext Set<T> (string key, T value);
abstract member Set : string * 'T -> Microsoft.Owin.IOwinContext
override this.Set : string * 'T -> Microsoft.Owin.IOwinContext
Public Overridable Function Set(Of T) (key As String, value As T) As IOwinContext

Type Parameters

T

The type of the value.

Parameters

key
String

The key of the value to set.

value
T

The value to set.

Returns

This instance.

Implements

Applies to