| Visual Basic (Declaration) | |
|---|---|
Public Function New() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New MessagePartStream() | |
| C# | |
|---|---|
public MessagePartStream() | |
| Managed Extensions for C++ | |
|---|---|
public: MessagePartStream(); | |
| C++/CLI | |
|---|---|
public: MessagePartStream(); | |
Use this constructor to create an empty MessagePartStream object. Create the part by setting the properties of the MessagePartStream object, such as MessagePartStream.Charset, MessagePartStream.Text, MessagePartStream.Type, etc.
When creating a MessagePartStream using this constructor, MessagePartStream.MimeEncoding will default to ContentEncoding.QuotedPrintable.
Target Platforms: Microsoft .NET Framework 2.0