共用方式為


HttpHeadersCollection Constructors

Definition

Overloads

HttpHeadersCollection()

Initializes an empty collection of HTTP Headers

HttpHeadersCollection(IEnumerable<KeyValuePair<String,IEnumerable<String>>>)

Initializes a collection of HTTP headers from an IEnumerable of key value pairs, where each key (HTTP header name) can have multiple header values.

HttpHeadersCollection(IEnumerable<KeyValuePair<String,String>>)

Initializes a collection of HTTP headers from an IEnumerable of key value pairs.

HttpHeadersCollection()

Source:
HttpHeadersCollection.cs

Initializes an empty collection of HTTP Headers

public HttpHeadersCollection ();
Public Sub New ()

Applies to

HttpHeadersCollection(IEnumerable<KeyValuePair<String,IEnumerable<String>>>)

Source:
HttpHeadersCollection.cs

Initializes a collection of HTTP headers from an IEnumerable of key value pairs, where each key (HTTP header name) can have multiple header values.

public HttpHeadersCollection (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,System.Collections.Generic.IEnumerable<string>>> headers);
new Microsoft.Azure.Functions.Worker.Http.HttpHeadersCollection : seq<System.Collections.Generic.KeyValuePair<string, seq<string>>> -> Microsoft.Azure.Functions.Worker.Http.HttpHeadersCollection
Public Sub New (headers As IEnumerable(Of KeyValuePair(Of String, IEnumerable(Of String))))

Parameters

headers
IEnumerable<KeyValuePair<String,IEnumerable<String>>>

A collection of key value pairs representing HTTP headers names and values.

Applies to

HttpHeadersCollection(IEnumerable<KeyValuePair<String,String>>)

Source:
HttpHeadersCollection.cs

Initializes a collection of HTTP headers from an IEnumerable of key value pairs.

public HttpHeadersCollection (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> headers);
new Microsoft.Azure.Functions.Worker.Http.HttpHeadersCollection : seq<System.Collections.Generic.KeyValuePair<string, string>> -> Microsoft.Azure.Functions.Worker.Http.HttpHeadersCollection
Public Sub New (headers As IEnumerable(Of KeyValuePair(Of String, String)))

Parameters

headers
IEnumerable<KeyValuePair<String,String>>

A collection of key value pairs representing HTTP header names and values.

Applies to