DotNetOpenMail 0.5.7 (beta)

MessageHeaderCollection.Add Method 

Adds an object to the end of the MessageHeaderCollection

[Visual Basic]
Public Function Add( _ 
   ByVal MessageHeader As MessageHeader _ 
) As Integer
public int Add(
   MessageHeader MessageHeader
public: int Add(
   MessageHeader* MessageHeader
public function Add(
   MessageHeader MessageHeader
): int;


The Object to be added to the end of the MessageHeaderCollection. The value can be a null reference (Nothing in Visual Basic).

Return Value

The MessageHeaderCollection index at which the value has been added.

See Also

MessageHeaderCollection Class | DotNetOpenMail Namespace