HeaderDictionary.Set Method
Sets a specific header value.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Sub Set ( _
key As String, _
value As String _
)
'Usage
Dim instance As HeaderDictionary
Dim key As String
Dim value As String
instance.Set(key, value)
public void Set(
string key,
string value
)
public:
virtual void Set(
String^ key,
String^ value
) sealed
abstract Set :
key:string *
value:string -> unit
override Set :
key:string *
value:string -> unit
public final function Set(
key : String,
value : String
)
Parameters
- key
Type: System.String
The key.
- value
Type: System.String
The value of the header.
Implements
IHeaderDictionary.Set(String, String)