Compartilhar via


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

IOwinResponse Set<T>(
    string key,
    T value
)
generic<typename T>
IOwinResponse^ Set(
    String^ key,
    T value
)
abstract Set<'T> : 
        key:string *
        value:'T -> IOwinResponse
Function Set(Of T) (
    key As String,
    value As T
) As IOwinResponse

Parameters

  • value
    Type: T

    The value to set.

Return Value

Type: Microsoft.Owin.IOwinResponse

This instance.

Type Parameters

  • T
    The type of the value.

See Also

IOwinResponse Interface
Microsoft.Owin Namespace

Return to top