| Visual Basic (Declaration) | |
|---|---|
Public Function New() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New MimeAttachmentStream() | |
| C# | |
|---|---|
public MimeAttachmentStream() | |
| Managed Extensions for C++ | |
|---|---|
public: MimeAttachmentStream(); | |
| C++/CLI | |
|---|---|
public: MimeAttachmentStream(); | |
Use this constructor to create an empty MimeAttachmentStream object. Create the part by using the MimeAttachmentStream.Content.Write method. Normally MimeAttachmentStreams can be created by passing a Stream or file name into the constructor. This constructor is reserved for advanced users.
When creating a MessagePartStream using this constructor, MessagePartStream.MimeEncoding will default to ContentEncoding.Base64.
Target Platforms: Microsoft .NET Framework 2.0