Share via


IOwinRequest.Get<T>(String) Method

Definition

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

public T Get<T> (string key);
abstract member Get : string -> 'T
Public Function Get(Of T) (key As String) As T

Type Parameters

T

The type of the value.

Parameters

key
String

The key of the value to get.

Returns

T

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

Applies to