다음을 통해 공유


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
Aa580374.pubproperty(en-us,EXCHG.80).gif 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.
Aa580374.pubproperty(en-us,EXCHG.80).gif ContentType The ContentType property gets a value that specifies the Multipurpose Internet Mail Extensions (MIME) content type of the attachment.
Aa580374.pubproperty(en-us,EXCHG.80).gif EmbeddedMessage The EmbeddedMessage property gets or sets a value that specifies the EmailMessage embedded in the attachment.
Aa580374.pubproperty(en-us,EXCHG.80).gif FileName The FileName property gets or sets the file name for the attachment.
Aa580374.pubproperty(en-us,EXCHG.80).gif IsOleAttachment The IsOleAttachment property gets a value that indicates whether the attachment is an OLE object.
Aa580374.pubproperty(en-us,EXCHG.80).gif MimePart The MimePart property gets the MimePart for the attachment.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa580374.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa580374.pubmethod(en-us,EXCHG.80).gif GetContentReadStream The GetContentReadStream method gets a readable stream that contains the contents of the attachment without content transfer encoding.
Aa580374.pubmethod(en-us,EXCHG.80).gif GetContentWriteStream The GetContentWriteStream method gets a stream into which you can write new content.
Aa580374.pubmethod(en-us,EXCHG.80).gif GetHashCode Overridden. The GetHashCode method gets the hash code for the attachment.
Aa580374.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa580374.pubmethod(en-us,EXCHG.80).gifAa580374.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa580374.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )
Aa580374.pubmethod(en-us,EXCHG.80).gif TryGetContentReadStream The TryGetContentReadStream method gets a readable stream that contains the contents of the attachment.

Top

Protected Methods

  Name Description
Aa580374.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa580374.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top