Description
-
Removes all headers from the collection.
Return Type
-
None
Syntax
-
object.RemoveAll
The RemoveAll Method syntax has these parts:
object |
An expression
evaluating to an object of type SmtpHeaders. |
Remarks
-
RemoveAll method will delete all the header objects from
the headers collection. After calling this method, headers
collection will be empty. If you wish to add new headers,
you should use Add method.
|