Attachment members
The Attachment type represents an attachment to a EmailMessage object.
The Attachment type exposes the following members.
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
Methods
Name | Description | |
---|---|---|
![]() |
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 | The GetHashCode method gets the hash code for the attachment. (Overrides Object.GetHashCode().) |
![]() |
TryGetContentReadStream | The TryGetContentReadStream method gets a readable stream that contains the contents of the attachment. |
Top