IOwinContext.Get<T> Method

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

'Declaration
Function Get(Of T) ( _
    key As String _
) As T
'Usage
Dim instance As IOwinContext 
Dim key As String 
Dim returnValue As T

returnValue = instance.Get(key)
T Get<T>(
    string key
)
generic<typename T>
T Get(
    String^ key
)
abstract Get : 
        key:string -> 'T 
JScript does not support generic types and methods.

Type Parameters

  • T
    The type of the value.

Parameters

Return Value

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

See Also

Reference

IOwinContext Interface

Microsoft.Owin Namespace