ContentTypeHeader Members
Include Protected Members
Include Inherited Members
The ContentTypeHeader class represents a Multipurpose Internet Mail Extensions (MIME) Content-Type header.
The ContentTypeHeader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ContentTypeHeader() | The ContentTypeHeader constructor creates a new ContentTypeHeader object that has default values. | |
ContentTypeHeader(String) | The ContentTypeHeader constructor creates a new ContentTypeHeader object that specifies the type specified by value. |
Top
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. (Inherited from Header.) | |
IsReadOnly | The IsReadOnly property gets a bool value that indicates whether the owning MimeDocument is read-only. (Inherited from MimeNode.) | |
Item | The Item property returns the MimeParameter indicated by name. (Inherited from ComplexHeader.) | |
LastChild | The LastChild property gets the last child of this MimeNode object. (Inherited from MimeNode.) | |
MediaType | The MediaType property gets or sets the media type for this ContentTypeHeader object. | |
Name | The Name property gets the name of this header. (Inherited from 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.) | |
SubType | The SubType property gets or sets the subtype for this ContentTypeHeader object. | |
Value | The Value property gets or sets the value of the Content-Type header represented by this ContentTypeHeader object. (Overrides Header.Value.) |
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 method returns a deep copy of this ContentTypeHeader object. (Overrides MimeNode.Clone().) | |
CopyTo | The CopyTo method puts a deep copy of this ContentTypeHeader object into destination. (Overrides Header.CopyTo(Object).) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | The GetEnumerator method returns a parameter enumerator that can be used to sequentially access the MimeParameter objects in this ComplexHeader object. (Inherited from ComplexHeader.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
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.) | |
IsValueValid | (Overrides Header.IsValueValid(String).) | |
MemberwiseClone | (Inherited from Object.) | |
Parse | The Parse() method parses the header. (Inherited from ComplexHeader.) | |
PrependChild | The PrependChild method puts a MimeNode at the start of the list of the children of this MimeNode object. (Inherited from MimeNode.) | |
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 | The ThrowIfReadOnly(String) method throws an exception if the owning MimeDocument is read-only. (Inherited from MimeNode.) | |
ToString | (Inherited from Object.) | |
TryGetValue | The TryGetValue method tries to get the value of this Header object. TryGetValue does not throw an exception if it fails (Inherited from Header.) | |
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
Fields
Name | Description | |
---|---|---|
handleISO2022 | (Inherited from ComplexHeader.) | |
parsed | (Inherited from ComplexHeader.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<MimeParameter>.GetEnumerator() | (Inherited from ComplexHeader.) | |
IEnumerable<MimeNode>.GetEnumerator() | (Inherited from MimeNode.) | |
IEnumerable.GetEnumerator | (Inherited from ComplexHeader.) |
Top