IOwinContext.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
IOwinContext Set<T>(
string key,
T value
)
generic<typename T>
IOwinContext^ Set(
String^ key,
T value
)
abstract Set<'T> :
key:string *
value:'T -> IOwinContext
Function Set(Of T) (
key As String,
value As T
) As IOwinContext
Parameters
key
Type: System.StringThe key of the value to set.
value
Type: TThe value to set.
Return Value
Type: Microsoft.Owin.IOwinContext
This instance.
Type Parameters
- T
The type of the value.
See Also
IOwinContext Interface
Microsoft.Owin Namespace
Return to top