HeaderList.RemoveAll Method (HeaderId)

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

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Sub RemoveAll ( _
    headerId As HeaderId _
)
public void RemoveAll (
    HeaderId headerId
)
public:
void RemoveAll (
    HeaderId headerId
)
public void RemoveAll (
    HeaderId headerId
)
public function RemoveAll (
    headerId : HeaderId
)

Parameters

  • headerId
    A HeaderId enumeration value that indicates the name of the headers to remove.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003