IOwinRequest.Set<T> Method
Sets the type of the request.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Function Set(Of T) ( _
key As String, _
value As T _
) As IOwinRequest
'Usage
Dim instance As IOwinRequest
Dim key As String
Dim value As T
Dim returnValue As IOwinRequest
returnValue = instance.Set(key, value)
IOwinRequest Set<T>(
string key,
T value
)
generic<typename T>
IOwinRequest^ Set(
String^ key,
T value
)
abstract Set :
key:string *
value:'T -> IOwinRequest
JScript does not support generic types and methods.
Type Parameters
- T
The type of the request.
Parameters
- key
Type: System.String
The key.
- value
Type: T
The request value.
Return Value
Type: Microsoft.Owin.IOwinRequest
The retrieved request.