Jaa


OwinRequest.Set<T> Method (String, T)

 

Sets the given key and value in the OWIN environment.

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

Syntax

public virtual IOwinRequest Set<T>(
    string key,
    T value
)
public:
generic<typename T>
virtual IOwinRequest^ Set(
    String^ key,
    T value
)
abstract Set<'T> : 
        key:string *
        value:'T -> IOwinRequest
override Set<'T> : 
        key:string *
        value:'T -> IOwinRequest
Public Overridable Function Set(Of T) (
    key As String,
    value As T
) As IOwinRequest

Parameters

  • value
    Type: T

    The value to set.

Return Value

Type: Microsoft.Owin.IOwinRequest

This instance.

Type Parameters

  • T
    The type of the value.

Implements

IOwinRequest.Set<T>(String, T)

See Also

OwinRequest Class
Microsoft.Owin Namespace

Return to top