IHeaderDictionary.Item[String] Property

Definition

IHeaderDictionary has a different indexer contract than IDictionary, where it will return StringValues.Empty for missing entries.

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

Property Value

The stored value, or StringValues.Empty if the key is not present.

Implements

Applies to