System.Net.Mail.AttachmentBase Members

The members of System.Net.Mail.AttachmentBase are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Instantiates an System.Net.Mail.AttachmentBase with the specified System.IO.Stream.

Instantiates an System.Net.Mail.AttachmentBase with the specified file name.

Instantiates an System.Net.Mail.AttachmentBase with the specified System.IO.Stream and System.Net.Mime.ContentType.

Instantiates an System.Net.Mail.AttachmentBase with the specified System.IO.Stream and media type.

Instantiates an System.Net.Mail.AttachmentBase with the specified file name and content type.

Instantiates an System.Net.Mail.AttachmentBase with the specified file name and media type.

Public Properties

ContentIdstring.

Gets or sets the MIME content ID for this attachment.

[read-only]
ContentStreamSystem.IO.Stream.

Gets the content stream of this attachment.

ContentTypeSystem.Net.Mime.ContentType.

Gets the content type of this attachment.

TransferEncodingSystem.Net.Mime.TransferEncoding.

Gets or sets the encoding of this attachment.

Public Methods

Dispose()

Releases the resources used by the System.Net.Mail.AttachmentBase.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.Net.Mail.AttachmentBase and optionally releases the managed resources.