Megosztás a következőn keresztül:


HeaderDictionary Constructors

Definition

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