IOwinResponse.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)
Syntax
T Get<T>(
string key
)
generic<typename T>
T Get(
String^ key
)
abstract Get<'T> :
key:string -> 'T
Function Get(Of T) (
key As String
) As T
Parameters
key
Type: System.StringThe 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.
See Also
IOwinResponse Interface
Microsoft.Owin Namespace
Return to top