OwinResponse.Set<T> Method
Returns a new set with the elements of the second set removed from the first.
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 IOwinResponse
'Usage
Dim instance As OwinResponse
Dim key As String
Dim value As T
Dim returnValue As IOwinResponse
returnValue = instance.Set(key, value)
public virtual IOwinResponse Set<T>(
string key,
T value
)
public:
generic<typename T>
virtual IOwinResponse^ Set(
String^ key,
T value
)
abstract Set :
key:string *
value:'T -> IOwinResponse
override Set :
key:string *
value:'T -> IOwinResponse
JScript does not support generic types and methods.
Type Parameters
- T
The type generic.
Parameters
- key
Type: System.String
The key.
- value
Type: T
The value.
Return Value
Type: Microsoft.Owin.IOwinResponse
A set containing elements of the first set that are not contained in the second set.
Implements
IOwinResponse.Set<T>(String, T)