Search
HeaderCollection Members
Properties Methods
 


Represents a strongly-typed collection of Header objects.

The following tables list the members exposed by the HeaderCollection type.

 Public Properties

  Name Description

Count

Gets the number of elements contained in the collection.

IsReadOnly

Gets a value indicating whether the collection is read-only.

Item

Gets or sets the Header at the specified position.

 Public Methods

  Name Description

Add

Adds the specified header to the collection.

Clear

Removes all headers from the collection.

Contains

Checks whether a Header is in the collection.

CopyTo

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

GetEnumerator

Returns an enumerator that iterates through the collection.

IndexOf

Gets the index of the specified header within this collection.

Insert

Inserts the specified Header at the specified position within the HeaderCollection.

Remove

Removes the first occurrence of the specified Header from the collection.

RemoveAt

Removes the Header at the specified position within the collection.

 See Also