Export (0) Print
Expand All

Attachment Constructor

Initializes a new instance of the Attachment class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Attachment(String) Initializes a new instance of the Attachment class with the specified content string.
Public method Attachment(Stream, ContentType) Initializes a new instance of the Attachment class with the specified stream and content type.
Public method Attachment(Stream, String) Initializes a new instance of the Attachment class with the specified stream and name.
Public method Attachment(String, ContentType) Initializes a new instance of the Attachment class with the specified content string and ContentType.
Public method Attachment(String, String) Initializes a new instance of the Attachment class with the specified content string and MIME type information.
Public method Attachment(Stream, String, String) Initializes a new instance of the Attachment class with the specified stream, name, and MIME type information.
Top
Show:
© 2014 Microsoft