Attachment Members
The Attachment type represents an attachment to a EmailMessage object.
The following tables list the members exposed by the Attachment type.
Public Properties
Name | Description | |
---|---|---|
AttachmentType | The AttachmentType property gets or sets a valid AttachmentType value that specifies whether the attachment is inline with the message contents or a regular attachment. | |
ContentType | The ContentType property gets a value that specifies the Multipurpose Internet Mail Extensions (MIME) content type of the attachment. | |
EmbeddedMessage | The EmbeddedMessage property gets or sets a value that specifies the EmailMessage embedded in the attachment. | |
FileName | The FileName property gets or sets the file name for the attachment. | |
IsOleAttachment | The IsOleAttachment property gets a value that indicates whether the attachment is an OLE object. | |
MimePart | The MimePart property gets the MimePart for the attachment. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetContentReadStream | The GetContentReadStream method gets a readable stream that contains the contents of the attachment without content transfer encoding. | |
GetContentWriteStream | The GetContentWriteStream method gets a stream into which you can write new content. | |
GetHashCode | Overridden. The GetHashCode method gets the hash code for the attachment. | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) | |
TryGetContentReadStream | The TryGetContentReadStream method gets a readable stream that contains the contents of the attachment. |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
Top