The AlternateView type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetContentLength |
Gets the length of the attachment.
(Inherited from AttachmentBase.) | |
| GetContentStream()()()() |
Returns the read-only stream representing a content of this attachment.
(Inherited from AttachmentBase.) | |
| GetContentStream(Boolean) |
Returns the stream representing a content of this attachment.
(Inherited from AttachmentBase.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Save(Stream) |
Writes the content of the attachment into the supplied stream.
(Inherited from AttachmentBase.) | |
| Save(String) |
Writes the content of the attachment or view into a supplied file.
(Inherited from AttachmentBase.) | |
| SetContent(Stream) |
Sets the content of this view to data read from the specified stream.
| |
| SetContent(String) |
Sets the content of this attachment to the specified text.
(Inherited from AttachmentBase.) | |
| SetContent(Stream, String) |
Sets the content of this view to data read from the specified stream and sets media type.
| |
| SetContent(String, String) |
Sets the content of this attachment to the specified text and media type.
(Inherited from AttachmentBase.) | |
| SetContent(String, String, Encoding) |
Sets the content of this attachment to the specified text, media type and character set.
(Inherited from AttachmentBase.) | |
| SetContent(String, String, Encoding, TransferEncoding) |
Sets the content of this attachment to the specified text, media type and character set.
(Inherited from AttachmentBase.) | |
| SetContentFromFile(String) |
Sets the content of this view to data read from the specified file.
| |
| SetContentFromFile(String, String) |
Sets the content of this view to data read from the specified file and sets media type.
| |
| ToMimeEntity |
Converts this instance to a MimeEntity.
(Inherited from AttachmentBase.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |