Partager via


HeaderList.RemoveAll Method (String)

The RemoveAll method removes all headers in the current part that have the name specified by name.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Sub RemoveAll ( _
    name As String _
)
'Usage
Dim instance As HeaderList
Dim name As String

instance.RemoveAll(name)
public void RemoveAll(
    string name
)

Parameters

  • name
    Type: System.String
    A string that indicates the name of the headers to remove.