Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the given key and value in the OWIN environment.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public virtual IOwinResponse Set<T>(
string key,
T value
)
public:
generic<typename T>
virtual IOwinResponse^ Set(
String^ key,
T value
)
abstract Set<'T> :
key:string *
value:'T -> IOwinResponse
override Set<'T> :
key:string *
value:'T -> IOwinResponse
Public Overridable Function Set(Of T) (
key As String,
value As T
) As IOwinResponse
Parameters
key
Type: System.StringThe key of the value to set.
value
Type: TThe value to set.
Return Value
Type: Microsoft.Owin.IOwinResponse
This instance.
Type Parameters
- T
The type of the value.
Implements
IOwinResponse.Set<T>(String, T)
See Also
OwinResponse Class
Microsoft.Owin Namespace
Return to top