HeaderList members

The HeaderList class represents an ordered list of headers.

The HeaderList type exposes the following members.

Properties

  Name Description
Public property FirstChild The FirstChild property gets the MimeNode object that is the first child of this MimeNode object. (Inherited from MimeNode.)
Public property HasChildren The HasChildren property gets a bool value that indicates whether this MimeNode object has children. (Inherited from MimeNode.)
Protected property IsReadOnly Gets a bool value that indicates whether the owning MimeDocument object is read-only. (Inherited from MimeNode.)
Public property LastChild The LastChild property gets the last child of this MimeNode object. (Inherited from MimeNode.)
Public property NextSibling The NextSibling property gets the next MimeNode object in the list of children that belong to this MimeNode object. (Inherited from MimeNode.)
Public property Parent The Parent property gets the MimeNode object that is the parent of this MimeNode object. (Inherited from MimeNode.)
Public property PreviousSibling The PreviousSibling property gets the previous MimeNode object in the list of children that belong to this MimeNode object. (Inherited from MimeNode.)

Top

Methods

  Name Description
Public method AppendChild The AppendChild method puts a MimeNode object onto the end of the list of children that belong to this MimeNode object. (Inherited from MimeNode.)
Public method Clone The Clone method creates another HeaderList object that is identical to this one. (Overrides MimeNode.Clone().)
Public method CopyTo The CopyTo method copies the contents of this HeaderList object into destination. (Overrides MimeNode.CopyTo(Object).)
Public method FindAll(String) The FindAll method returns an array that contains all Header objects in this HeaderList object that have the name specified by name.
Public method FindAll(HeaderId) The FindAll method returns an array that contains all Header objects in this HeaderList object that are of the name specified by headerId.
Public method FindFirst(String) The FindFirst method returns the first Header object in this HeaderList object that is of the name specified by name.
Public method FindFirst(HeaderId) The FindFirst method returns the first Header object in this HeaderList object that is of the name specified by headerId.
Public method FindNext The FindNext method returns the next Header object of the same name as the Header object that you supply.
Public method GetEnumerator The GetEnumerator method returns an enumerator that can be used to sequentially access the Header objects in this HeaderList object.
Public method InsertAfter The InsertAfter method inserts a new MimeNode object after a specified MimeNode object in the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method InsertBefore The InsertBefore method inserts a new MimeNode object before a specified MimeNode object in the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method PrependChild The PrependChild method puts a MimeNode at the start of the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public methodStatic member ReadFrom The ReadFrom method uses a MimeReader object to create a HeaderList object.
Public method RemoveAll() The RemoveAll method removes all children of this MimeNode object. (Inherited from MimeNode.)
Public method RemoveAll(String) The RemoveAll method removes all headers in the current part that have the name specified by name.
Public method RemoveAll(HeaderId) The RemoveAll method removes all headers in the current part that have the name specified by headerId.
Public method RemoveChild The RemoveChild method removes the specified child MimeNode object from the list of the children of this MimeNode object. (Inherited from MimeNode.)
Public method RemoveFromParent The RemoveFromParent method removes this MimeNode object from its parent. (Inherited from MimeNode.)
Public method ReplaceChild The ReplaceChild method replaces a specified MimeNode child object with another specified MimeNode object. (Inherited from MimeNode.)
Protected method ThrowIfReadOnly Throws an exception if the owning MimeDocument object is read-only. (Inherited from MimeNode.)
Public method WriteTo(Stream) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode to stream. (Inherited from MimeNode.)
Public method WriteTo(MimeWriter) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode to writer. (Inherited from MimeNode.)
Public method WriteTo(Stream, EncodingOptions) The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode object into stream by using encodingOptions. (Inherited from MimeNode.)
Public method WriteTo(Stream, EncodingOptions, MimeOutputFilter) The WriteTo method writes the headers in this HeaderList object to stream.

Top

See also

Reference

HeaderList class

Microsoft.Exchange.Data.Mime namespace