Attachment Methods |
The Attachment type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAttachmentsFromTnef |
Extracts all the files from TNEF container and returns them as AttachmentCollection.
| |
GetAttachmentsFromTnef(TnefExtractionOptions) |
Extracts items of the specified kinds from TNEF container and returns them as AttachmentCollection.
| |
GetData |
Gets the actual content of the attachment as a byte array.
| |
GetData(Int32, Int32) |
Gets the specified portion of the actual content of the attachment as a byte array.
| |
GetEncapsulatedMessage |
Gets the encapsulated e-mail message as a MailMessage object.
| |
GetHashCode | Serves as the default hash function. (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 |
Saves the content of the attachment into the specified file.
| |
SaveAsync |
async/await version of Save(String, Boolean).
| |
SaveToFolder |
Saves the content of the attachment into a file in the specified folder.
| |
SaveToFolderAsync |
async/await version of SaveToFolder(String, Boolean).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |