IOwinContext::Get<T> Method (String^)

 

Gets a value from the OWIN environment, or returns default(T) if not present.

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

generic<typename T>
T Get(
	String^ key
)

Parameters

key
Type: System::String^

The key of the value to get.

Return Value

Type: T

The value with the specified key or the default(T) if not present.

Type Parameters

T

The type of the value.

Return to top
Show: