IHeaderDictionary.Item Property
Gets or sets the header with the specified key.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Default Property Item ( _
key As String _
) As String
Get
Set
'Usage
Dim instance As IHeaderDictionary
Dim key As String
Dim value As String
value = instance(key)
instance(key) = value
string this[
string key
] { get; set; }
property String^ default[String^ key] {
String^ get (String^ key);
void set (String^ key, String^ value);
}
abstract Item : string with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- key
Type: System.String
Property Value
Type: System.String
The header with the specified key.