MimePart members
The MimePart class represents a Multipurpose Internet Mail Extensions (MIME) part.
The MimePart type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MimePart() | The MimePart constructor creates a blank MimePart object. | |
MimePart(String) | The MimePart constructor creates a new MimePart object and adds a Content-Type header. | |
MimePart(String, ContentTransferEncoding, Stream, CachingMode) | The MimePart constructor creates a new MimePart object, gives it a specified Content-Type header, and sets the content. | |
MimePart(String, String, Stream, CachingMode) | The MimePart method creates a new MimePart object, gives it a specified content type, and sets the content. |
Top
Properties
Name | Description | |
---|---|---|
ContentTransferEncoding | The ContentTransferEncoding property gets the content transfer encoding that is used to encode this MimePart object. | |
ContentType | The ContentType property gets the content type of this MimePart object. | |
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.) | |
Headers | The Headers property gets a HeaderList object that represents the headers in this MimePart object. | |
IsEmbeddedMessage | The IsEmbeddedMessage property gets a bool that indicates whether this MimePart object contains an embedded message. | |
IsMultipart | The IsMultipart property gets a bool that indicates whether this MimePart object represents a multipart Multipurpose Internet Mail Extensions (MIME) part. | |
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.) | |
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.) | |
Subtree | Gets an enumerable MIME part subtree that can be traversed or passed to the IEnumerable<MimePart>.GetEnumerator() method, which supports more advanced enumeration. | |
Version | The Version property gets the version of the content of this MimePart 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 method returns a deep copy of this MimePart object. (Overrides MimeNode.Clone().) | |
CopyTo | The CopyTo method stores a copy of this MimePart object in destination. (Overrides MimeNode.CopyTo(Object).) | |
Dispose() | The Dispose method releases all resources used by the MimePart class. | |
Dispose(Boolean) | The Dispose method releases the unmanaged resources used by the MimePart class and optionally releases the managed resources. | |
GetContentReadStream | The GetContentReadStream method returns a stream that can be used to access the content of this MimePart object. | |
GetContentWriteStream(String) | The GetContentWriteStream method returns a stream that will be written to by using the specified content transfer encoding. | |
GetContentWriteStream(ContentTransferEncoding) | The GetContentWriteStream method returns a stream that will be written to by using the specified content transfer encoding. | |
GetEnumerator | The GetEnumerator method returns an enumerator that can be used to iterate over the MimeNode objects in this MimePart object. | |
GetRawContentReadStream | The GetRawContentReadStream method returns a stream that can be used to read the encoded content. | |
GetRawContentWriteStream | The GetRawContentWriteStream method returns a stream that can be used to write data into the body of this MimePart 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.) | |
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.) | |
SetContentStream(String, Stream, CachingMode) | The SetContentStream method sets the content of this MimePart object. | |
SetContentStream(ContentTransferEncoding, Stream, CachingMode) | The SetContentStream method sets the content of this MimePart object. | |
ThrowIfReadOnly | Throws an exception if the owning MimeDocument object is read-only. (Inherited from MimeNode.) | |
TryGetContentReadStream | The TryGetContentReadStream method gets a stream that can be used to read the content of this MimePart object. | |
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.) | |
WriteTo(Stream, EncodingOptions, MimeOutputFilter) | The WriteTo method writes the contents of this MimePart object to a stream. |
Top