WebHeaderCollection Members
The following tables list the members exposed by the WebHeaderCollection type.
Public Constructors
Name | Description | |
---|---|---|
WebHeaderCollection | Creates an empty collection of Web headers. |
Public Properties
Name | Description | |
---|---|---|
AllKeys | Gets all header names (keys) in the collection. | |
Count | Gets the number of headers in the collection. | |
this | Returns the string value for the header. |
Public Methods
Name | Description | |
---|---|---|
Add | Overloaded. Inserts a header into the collection. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValues | Returns the values for the specified header name. | |
IsRestricted | Tests whether the specified HTTP header can be set. | |
ReferenceEquals | (Inherited from Object.) | |
Remove | Removes the specified header from the collection. | |
Set | Sets the specified header to the specified value. | |
ToByteArray | Generates a byte array representation of the headers, that is ready to be sent. | |
ToString | Generates a string representation of the headers, that is ready to be sent except for it being in String format. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |