HeaderDictionary Constructors
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.
HeaderDictionary() |
Initializes a new instance of HeaderDictionary. |
HeaderDictionary(Dictionary<String,StringValues>) |
Initializes a new instance of HeaderDictionary. |
HeaderDictionary(Int32) |
Initializes a new instance of HeaderDictionary. |
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
Initializes a new instance of HeaderDictionary.
public:
HeaderDictionary();
C#
public HeaderDictionary ();
Public Sub New ()
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
Initializes a new instance of HeaderDictionary.
public:
HeaderDictionary(System::Collections::Generic::Dictionary<System::String ^, Microsoft::Extensions::Primitives::StringValues> ^ store);
C#
public HeaderDictionary (System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> store);
C#
public HeaderDictionary (System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues>? store);
new Microsoft.AspNetCore.Http.HeaderDictionary : System.Collections.Generic.Dictionary<string, Microsoft.Extensions.Primitives.StringValues> -> Microsoft.AspNetCore.Http.HeaderDictionary
Public Sub New (store As Dictionary(Of String, StringValues))
Parameters
- store
- Dictionary<String,StringValues>
The value to use as the backing store.
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
Initializes a new instance of HeaderDictionary.
public:
HeaderDictionary(int capacity);
C#
public HeaderDictionary (int capacity);
new Microsoft.AspNetCore.Http.HeaderDictionary : int -> Microsoft.AspNetCore.Http.HeaderDictionary
Public Sub New (capacity As Integer)
Parameters
- capacity
- Int32
The initial number of headers that this instance can contain.
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |