MailBee.NET Objects 4.0

HeaderCollection Members

HeaderCollection overview

Public Instance Constructors

HeaderCollection Constructor Initializes a new instance of the HeaderCollection class.

Public Instance Properties

Count (inherited from CollectionBase) Gets the number of elements contained in the CollectionBase instance.
ItemOverloaded. Gets or sets the Header object in the collection at the specified zero-based index.

Public Instance Methods

Add Adds a header to the collection.
Clear Clears the collection of the headers.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Exists Checks whether a header with the given name exists in the collection.
GetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Items Returns the collection of headers having the given name.
Remove Removes the header from the collection by the given name.
RemoveAt Removes the header from the collection at the given zero-based index.
RemoveCustomHeaders Removes any custom headers from the collection of the message headers.
RemoveRouteHeaders Removes all route headers from the collection.

Protected Instance Properties

InnerList (inherited from CollectionBase) Gets an ArrayList containing the list of elements in the CollectionBase instance.
List (inherited from CollectionBase) Gets an IList containing the list of elements in the CollectionBase instance.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClear (inherited from CollectionBase) Performs additional custom processes when clearing the contents of the CollectionBase instance.
OnClearComplete (inherited from CollectionBase) Performs additional custom processes after clearing the contents of the CollectionBase instance.
OnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
OnInsertComplete (inherited from CollectionBase) Performs additional custom processes after inserting a new element into the CollectionBase instance.
OnRemove (inherited from CollectionBase) Performs additional custom processes when removing an element from the CollectionBase instance.
OnRemoveComplete (inherited from CollectionBase) Performs additional custom processes after removing an element from the CollectionBase instance.
OnSet (inherited from CollectionBase) Performs additional custom processes before setting a value in the CollectionBase instance.
OnSetComplete (inherited from CollectionBase) Performs additional custom processes after setting a value in the CollectionBase instance.
OnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

HeaderCollection Class | MailBee.Mime Namespace | MailMessage | Header