This documentation is archived and is not being maintained.

AttachmentBase Members

Base class that represents an email attachment. Classes Attachment, AlternateView, and LinkedResource derive from this class.

The AttachmentBase type exposes the following members.

Protected method AttachmentBase Overloaded. Instantiates a new AttachmentBase.

Public method Dispose Overloaded. Releases the resources used by the AttachmentBase.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property ContentId Gets or sets the MIME content ID for this attachment.
Public property ContentStream Gets the content stream of this attachment.
Public property ContentType Gets the content type of this attachment.
Public property TransferEncoding Gets or sets the encoding of this attachment.