OwinRequest.Set<T> Method

Sets the specified request.

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

Syntax

'Declaration
Public Overridable Function Set(Of T) ( _
    key As String, _
    value As T _
) As IOwinRequest
'Usage
Dim instance As OwinRequest 
Dim key As String 
Dim value As T
Dim returnValue As IOwinRequest 

returnValue = instance.Set(key, value)
public virtual IOwinRequest Set<T>(
    string key,
    T value
)
public:
generic<typename T>
virtual IOwinRequest^ Set(
    String^ key, 
    T value
)
abstract Set : 
        key:string * 
        value:'T -> IOwinRequest  
override Set : 
        key:string * 
        value:'T -> IOwinRequest
JScript does not support generic types and methods.

Type Parameters

  • T
    The type of the OWIN request.

Parameters

  • value
    Type: T
    The value of the request.

Return Value

Type: Microsoft.Owin.IOwinRequest

Implements

IOwinRequest.Set<T>(String, T)

See Also

Reference

OwinRequest Class

Microsoft.Owin Namespace