PowerTCP Mail for .NET
Add(String) Method




A header line in the format described in RFC 2822.
Adds a new header field to the dictionary (uses the header label as the key).
Syntax
Public Overloads Function Add( _
   ByVal headerLine As String _
) As HeaderField
Dim instance As HeaderDictionary
Dim headerLine As String
Dim value As HeaderField
 
value = instance.Add(headerLine)
public HeaderField Add( 
   string headerLine
)
public: HeaderField* Add( 
   string* headerLine
) 
public:
HeaderField^ Add( 
   String^ headerLine
) 

Parameters

headerLine
A header line in the format described in RFC 2822.

Return Value

A HeaderField if successful, or null if an exception was generated and added to DecodingExceptions.
Remarks
If the dictionary already contains an entry with the header label, the header field will be added to Duplicates
See Also

Reference

HeaderDictionary Class
HeaderDictionary Members
Overload List


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic