| Visual Basic (Declaration) | |
|---|---|
Public Function New() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New MailHeader() | |
| C# | |
|---|---|
public MailHeader() | |
| Managed Extensions for C++ | |
|---|---|
public: MailHeader(); | |
| C++/CLI | |
|---|---|
public: MailHeader(); | |
The following example demonstrates
| Visual Basic | Copy Code |
|---|---|
' Be sure to import the namespace by putting "Imports Dart.PowerTCP.Mail"
' at the top of your class. | |
| C# | Copy Code |
|---|---|
// Be sure to import the namespace by putting "using Dart.PowerTCP.Mail;"
// at the top of your class. | |
The default constructor creates a new instance of the MailHeader class that is empty.
Target Platforms: Microsoft .NET Framework 2.0