Returns all of the elements in the MailHeaders collection as a string. No "word encoding" is performed.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overrides Function ToString() As String |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As MailHeader
Dim value As String
value = instance.ToString() |
| C# | |
|---|
public override string ToString() |
| Managed Extensions for C++ | |
|---|
public: string* ToString(); override |
| C++/CLI | |
|---|
public:
String^ ToString(); override |
Return Value
A string containing the values of all header lines in the collection.
Example
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. |
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also