Class CustomHttpHeadersCollection
Represents a collection of custom HTTP headers, keyed by name.
Inheritance
System.Object
CustomHttpHeadersCollection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public class CustomHttpHeadersCollection : IEnumerable<CustomHttpHeader>, IEnumerable
Constructors
| Name | Description |
|---|---|
| CustomHttpHeadersCollection() | Default constructor. |
| CustomHttpHeadersCollection(Int32) | Full constructor. |
Properties
| Name | Description |
|---|---|
| Count | Returns the number of items in the collection. |
| Item[String] | Returns the CustomHttpHeader instance from the collection that has the specified Name value. |
Methods
| Name | Description |
|---|---|
| Add(CustomHttpHeader) | Adds a CustomHttpHeader instance to the collection. |
| Contains(CustomHttpHeader) | Returns a boolean indicating whether or not the specified CustomHttpHeader instance is in the collection. |
| Contains(String) | Returns a boolean indicating whether or not a CustomHttpHeader instance with the specified full name value exists in the collection. |
| GetEnumerator() | Returns an enumerator of CustomHttpHeader instances in this collection. |
| Remove(CustomHttpHeader) | Removes the specified header instance from the collection. |
| Remove(String) | Removes the property with the specified key (Name from the collection. |