Header members
The Header abstract class represents a general Multipurpose Internet Mail Extensions (MIME) header.
The Header type exposes the following members.
Properties
Name | Description | |
---|---|---|
FirstChild | The FirstChild property gets the MimeNode object that is the first child of this MimeNode object. (Inherited from MimeNode.) | |
HasChildren | The HasChildren property gets a bool value that indicates whether this MimeNode object has children. (Inherited from MimeNode.) | |
HeaderId | The HeaderId property gets the HeaderId enumeration that describes the type of header that is represented by this Header object. | |
IsReadOnly | Gets a bool value that indicates whether the owning MimeDocument object is read-only. (Inherited from MimeNode.) | |
LastChild | The LastChild property gets the last child of this MimeNode object. (Inherited from MimeNode.) | |
Name | The Name property gets the name of this header. | |
NextSibling | The NextSibling property gets the next MimeNode object in the list of children that belong to this MimeNode object. (Inherited from MimeNode.) | |
Parent | The Parent property gets the MimeNode object that is the parent of this MimeNode object. (Inherited from MimeNode.) | |
PreviousSibling | The PreviousSibling property gets the previous MimeNode object in the list of children that belong to this MimeNode object. (Inherited from MimeNode.) | |
Value | The Value property gets or sets the value of this Header object. |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
Clone | The Clone virtual method returns a copy of the current MimeNode object. (Inherited from MimeNode.) | |
CopyTo | The CopyTo method puts a deep copy of this Header object into destination. (Overrides MimeNode.CopyTo(Object).) | |
Create(String) | The Create static method creates a new Header object that has the name that is specified by name. | |
Create(HeaderId) | The Create method creates a new Header object of the type specified by headerID. | |
GetEnumerator | The GetEnumerator method returns an enumerator that can be used to iterate over the children of the MimeNode object. (Inherited from MimeNode.) | |
GetHeaderId | The GetHeaderId static method returns the HeaderId that corresponds to a header name. | |
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.) | |
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.) | |
IsHeaderNameValid | The IsHeaderNameValid(String) method indicates whether name is valid for this header. | |
IsValueValid | The IsValueValid(String) method indicates whether value is valid for this header. | |
PrependChild | The PrependChild method puts a MimeNode at the start of the list of the children of this MimeNode object. (Inherited from MimeNode.) | |
ReadFrom | The ReadFrom static method creates a Header object by reading a MimeHeaderReader. | |
RemoveAll | The RemoveAll method removes all children of this MimeNode object. (Inherited from MimeNode.) | |
RemoveChild | The RemoveChild method removes the specified child MimeNode object from the list of the children of this MimeNode object. (Inherited from MimeNode.) | |
RemoveFromParent | The RemoveFromParent method removes this MimeNode object from its parent. (Inherited from MimeNode.) | |
ReplaceChild | The ReplaceChild method replaces a specified MimeNode child object with another specified MimeNode object. (Inherited from MimeNode.) | |
ThrowIfReadOnly | Throws an exception if the owning MimeDocument object is read-only. (Inherited from MimeNode.) | |
TryGetValue | The TryGetValue method tries to get the value of this Header object. TryGetValue does not throw an exception if it fails | |
WriteTo(Stream) | The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode to stream. (Inherited from MimeNode.) | |
WriteTo(MimeWriter) | The WriteTo method writes the Multipurpose Internet Mail Extensions (MIME) data in this MimeNode to writer. (Inherited from MimeNode.) | |
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.) |
Top