System.Net.Mail.AlternateView Members

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

See Also: Inherited members from System.Net.Mail.AttachmentBase

Public Constructors

Initializes a new instance of System.Net.Mail.AlternateView with the specified System.IO.Stream.

Initializes a new instance of System.Net.Mail.AlternateView with the specified file name.

Initializes a new instance of System.Net.Mail.AlternateView with the specified System.IO.Stream and System.Net.Mime.ContentType.

Initializes a new instance of System.Net.Mail.AlternateView with the specified System.IO.Stream and media type.

Initializes a new instance of System.Net.Mail.AlternateView with the specified file name and content type.

Initializes a new instance of System.Net.Mail.AlternateView with the specified file name and media type.

Public Properties

BaseUriUri.

Gets or sets the base URI to use for resolving relative URIs in the System.Net.Mail.AlternateView.

[read-only]
LinkedResourcesLinkedResourceCollection.

Gets the set of embedded resources referred to by this attachment.

Public Methods

static
CreateAlternateViewFromString(string) : AlternateView

Creates a System.Net.Mail.AlternateView of an email message using the content specified in a string.

static
CreateAlternateViewFromString(string, System.Net.Mime.ContentType) : AlternateView

Creates an System.Net.Mail.AlternateView of an email message using the content specified in a string and the specified MIME media type of the content.

static
CreateAlternateViewFromString(string, System.Text.Encoding, string) : AlternateView

Creates an System.Net.Mail.AlternateView of an email message using the content specified in a string, the specified text encoding, and MIME media type of the content.

Protected Methods

override
Dispose(bool)

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