OwinRequest.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

public virtual T Get<T>(
    string key
)
public:
generic<typename T>
virtual T Get(
    String^ key
)
abstract Get<'T> : 
        key:string -> 'T
override Get<'T> : 
        key:string -> 'T
Public Overridable Function Get(Of T) (
    key As String
) As T

Parameters

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

OwinRequest Class
Microsoft.Owin Namespace

Return to top