HeaderDictionary.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.
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.