Remove a header line from the MailHeader collection.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Function Remove( _
ByVal label As String _
) As String |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As MailHeader
Dim label As String
Dim value As String
value = instance.Remove(label) |
Parameters
- label
- A string representing the header label to remove.
Return Value
If the specified header line is present, this method returns the value of the removed header, without the CRLF. If the specified header line is not present, this method returns null.
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