System.Net.Mail.Attachment: Constructor Members

The constructors of System.Net.Mail.Attachment are listed below. For a list of all members, see the Attachment Members list.

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

Public Constructors

Initializes a new instance of the System.Net.Mail.Attachment class with the specified content string.

Initializes a new instance of the System.Net.Mail.Attachment class with the specified stream and content type.

Initializes a new instance of the System.Net.Mail.Attachment class with the specified stream and name.

Initializes a new instance of the System.Net.Mail.Attachment class with the specified content string and System.Net.Mime.ContentType.

Initializes a new instance of the System.Net.Mail.Attachment class with the specified content string and MIME type information.

Initializes a new instance of the System.Net.Mail.Attachment class with the specified stream, name, and MIME type information.