Attachment Constructor

 

Initializes a new instance of the Attachment class.

Namespace:   System.Net.Mail
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodAttachment(Stream^, ContentType^)

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

System_CAPS_pubmethodAttachment(Stream^, String^)

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

System_CAPS_pubmethodAttachment(Stream^, String^, String^)

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

System_CAPS_pubmethodAttachment(String^)

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

System_CAPS_pubmethodAttachment(String^, ContentType^)

Initializes a new instance of the Attachment class with the specified content string and ContentType.

System_CAPS_pubmethodAttachment(String^, String^)

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

Return to top
Show: