HeaderDictionary.Item[String] Property

Definition

Get or sets the associated value from the collection as a single string.

public:
 property Microsoft::Extensions::Primitives::StringValues default[System::String ^] { Microsoft::Extensions::Primitives::StringValues get(System::String ^ key); void set(System::String ^ key, Microsoft::Extensions::Primitives::StringValues value); };
public Microsoft.Extensions.Primitives.StringValues this[string key] { get; set; }
member this.Item(string) : Microsoft.Extensions.Primitives.StringValues with get, set
Default Public Property Item(key As String) As StringValues

Parameters

key
String

The header name.

Property Value

the associated value from the collection as a StringValues or StringValues.Empty if the key is not present.

Implements

Applies to