HeaderDictionary Constructors
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.
Overloads
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. |
HeaderDictionary()
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
Initializes a new instance of HeaderDictionary.
public:
HeaderDictionary();
public HeaderDictionary ();
Public Sub New ()
Applies to
HeaderDictionary(Dictionary<String,StringValues>)
- 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);
public HeaderDictionary (System.Collections.Generic.Dictionary<string,Microsoft.Extensions.Primitives.StringValues> store);
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
HeaderDictionary(Int32)
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
- Source:
- HeaderDictionary.cs
Initializes a new instance of HeaderDictionary.
public:
HeaderDictionary(int capacity);
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for