HttpResponseHeaders Class
Represents the HTTP headers of an HttpResponseMessage.
Inheritance Hierarchy
SystemObject
TcHmiSrv.Core.CollectionsMultiValueReadOnlyDictionaryString, String
TcHmiSrv.Core.Tools.Net.HttpHttpRequestHeaders
TcHmiSrv.Core.Tools.Net.HttpHttpResponseHeaders
Namespace: TcHmiSrv.Core.Tools.Net.Http
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public class HttpResponseHeaders : HttpRequestHeaders,
IDictionary<string, string>, ICollection<KeyValuePair<string, string>>,
IEnumerable<KeyValuePair<string, string>>, IEnumerableThe HttpResponseHeaders type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the HttpResponseMessage class. | |
|
|
Initializes a new instance of the HttpResponseMessage class with the specified HTTP headers. |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the number of elements in the collection. | |
|
|
Gets a new empty instance of the HttpResponseHeaders class. | |
|
|
Gets an empty read-only instance of the HttpResponseHeaders class. | |
|
|
Gets a value indicating whether the ICollectionT is read-only. | |
|
|
Gets the HTTP header values for the specified key. | |
|
|
Gets an enumerable collection that contains the keys in the
read-only dictionary. | |
|
|
Gets an enumerable collection that contains the values in the
read-only dictionary. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Adds an element with the provided key and value to the IDictionaryTKey, TValue. | |
|
|
Removes all items from the ICollectionT. | |
|
|
Determines whether the ICollectionT contains a specific value. | |
|
|
Determines whether the read-only dictionary contains an element
that has the specified key. | |
|
|
Copies the elements of the ICollectionT to an Array, starting at a particular Array index. | |
|
|
Indicates whether the current MultiValueReadOnlyDictionaryTKey,
TValue is equal to another
MultiValueReadOnlyDictionaryTKey,
TValue. | |
|
|
Determines whether the specified Object is equal to the
current MultiValueReadOnlyDictionaryTKey,
TValue. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Gets all values under the specified key. | |
|
|
Returns an enumerator that iterates through the
collection. | |
|
|
Gets the first value under the specified key. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Gets the value at the specified index under the specified
key. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Removes the first occurrence of a specific object from the ICollectionT. | |
|
|
Removes the element with the specified key from the IDictionaryTKey, TValue. | |
|
|
Converts the current instance of the MultiValueReadOnlyDictionaryTKey,
TValue class to an ICollectionT. | |
|
|
Returns a string that represents the current object. | |
|
|
Gets the value that is associated with the specified key. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0