HeaderDictionary.Item Property (String)
Get or sets the associated value from the collection as a single string.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
public string this[
string key
] { get; set; }
public:
property String^ default[
String^ key
] {
virtual String^ get(String^ key) sealed;
virtual void set(String^ key, String^ value) sealed;
}
abstract Item :
key:string -> string with get, set
override Item :
key:string -> string with get, set
Public Property Item (
key As String
) As String
Parameters
key
Type: System.StringThe header name.
Property Value
Type: System.String
The associated value from the collection as a single string or null if the key is not present.
Implements
IHeaderDictionary.Item[String] IReadableStringCollection.Item[String]
See Also
HeaderDictionary Class
Microsoft.Owin Namespace
Return to top