IHeaderDictionary.Item[String] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.