System.Net.Mail.LinkedResource Members

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

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

Public Constructors

Initializes a new instance of System.Net.Mail.LinkedResource using the supplied System.IO.Stream.

Initializes a new instance of System.Net.Mail.LinkedResource using the specified file name.

Initializes a new instance of System.Net.Mail.LinkedResource with the values supplied by System.IO.Stream and System.Net.Mime.ContentType.

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

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

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

Public Properties

ContentLinkUri.

Gets or sets a URI that the resource must match.

Public Methods

static
CreateLinkedResourceFromString(string) : LinkedResource

Creates a System.Net.Mail.LinkedResource object from a string to be included in an email attachment as an embedded resource. The default media type is plain text, and the default content type is ASCII.

static
CreateLinkedResourceFromString(string, System.Net.Mime.ContentType) : LinkedResource

Creates a System.Net.Mail.LinkedResource object from a string to be included in an email attachment as an embedded resource, with the specified content type, and media type as plain text.

static
CreateLinkedResourceFromString(string, System.Text.Encoding, string) : LinkedResource

Creates a System.Net.Mail.LinkedResource object from a string to be included in an email attachment as an embedded resource, with the specified content type, and media type.