IHeaderDictionary.Set Method
Assigns a new header value for the specified key.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Sub Set ( _
key As String, _
value As String _
)
'Usage
Dim instance As IHeaderDictionary
Dim key As String
Dim value As String
instance.Set(key, value)
void Set(
string key,
string value
)
void Set(
String^ key,
String^ value
)
abstract Set :
key:string *
value:string -> unit
function Set(
key : String,
value : String
)
Parameters
- key
Type: System.String
The key of the header to set.
- value
Type: System.String
The new header value to set.