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