System::Net::Http::Headers::HttpHeaderValueCollection::HttpHeaderValueCollection constructor

HttpHeaderValueCollection::HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>) constructor

Constructs a new instance.

System::Net::Http::Headers::HttpHeaderValueCollection<T>::HttpHeaderValueCollection(String headerName, System::SharedPtr<HttpHeaders> store)
ParameterTypeDescription
headerNameStringThe header name.
storeSystem::SharedPtr<HttpHeaders>The collection of the HTTP headers.

See Also

HttpHeaderValueCollection::HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, Action<System::SharedPtr<HttpHeaderValueCollection<T>>, T>) constructor

Constructs a new instance.

System::Net::Http::Headers::HttpHeaderValueCollection<T>::HttpHeaderValueCollection(String headerName, System::SharedPtr<HttpHeaders> store, Action<System::SharedPtr<HttpHeaderValueCollection<T>>, T> validator)
ParameterTypeDescription
headerNameStringThe header name.
storeSystem::SharedPtr<HttpHeaders>The collection of the HTTP headers.
validatorAction<System::SharedPtr<HttpHeaderValueCollection<T>>, T>The delegate that is used to validate added items.

See Also

HttpHeaderValueCollection::HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, T) constructor

Constructs a new instance.

System::Net::Http::Headers::HttpHeaderValueCollection<T>::HttpHeaderValueCollection(String headerName, System::SharedPtr<HttpHeaders> store, T specialValue)
ParameterTypeDescription
headerNameStringThe header name.
storeSystem::SharedPtr<HttpHeaders>The collection of the HTTP headers.
specialValueTA “special value”.

See Also

HttpHeaderValueCollection::HttpHeaderValueCollection(String, System::SharedPtr<HttpHeaders>, T, Action<System::SharedPtr<HttpHeaderValueCollection<T>>, T>) constructor

Constructs a new instance.

System::Net::Http::Headers::HttpHeaderValueCollection<T>::HttpHeaderValueCollection(String headerName, System::SharedPtr<HttpHeaders> store, T specialValue, Action<System::SharedPtr<HttpHeaderValueCollection<T>>, T> validator)
ParameterTypeDescription
headerNameStringThe header name.
storeSystem::SharedPtr<HttpHeaders>The collection of the HTTP headers.
specialValueTA “special value”.
validatorAction<System::SharedPtr<HttpHeaderValueCollection<T>>, T>The delegate that is used to validate added items.

See Also