IOwinContext::Set<T> Method (String^, T)

 

Sets the given key and value in the OWIN environment.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

generic<typename T>
IOwinContext^ Set(
	String^ key,
	T value
)

Parameters

key
Type: System::String^

The key of the value to set.

value
Type: T

The value to set.

Return Value

Type: Microsoft.Owin::IOwinContext^

This instance.

Type Parameters

T

The type of the value.

Return to top
Show: