Export (0) Print
Expand All

Attachment Members

Represents an attachment to an e-mail.

The following tables list the members exposed by the Attachment type.

  Name Description
Public method Attachment Overloaded. Initializes a new instance of the Attachment class.
Top

  Name Description
Public property ContentDisposition Gets the MIME content disposition for this attachment.
Public property ContentId  Gets or sets the MIME content ID for this attachment.(Inherited from AttachmentBase.)
Public property ContentStream  Gets the content stream of this attachment.(Inherited from AttachmentBase.)
Public property ContentType  Gets the content type of this attachment.(Inherited from AttachmentBase.)
Public property Name Gets or sets the MIME content type name value in the content type associated with this attachment.
Public property NameEncoding Specifies the encoding for the AttachmentName.
Public property TransferEncoding  Gets or sets the encoding of this attachment.(Inherited from AttachmentBase.)
Top

(see also Protected Methods )
  Name Description
Public method Static CreateAttachmentFromString Overloaded. Creates an attachment from a string.
Public method Dispose  Overloaded. Releases the resources used by the AttachmentBase. (Inherited from AttachmentBase.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method 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.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the AttachmentBase. (Inherited from AttachmentBase.)
Protected method 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.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft