System.Web.Services.Protocols.SoapHeaderCollection.Remove Method

Removes the first occurrence of a specific System.Web.Services.Protocols.SoapHeader from the System.Web.Services.Protocols.SoapHeaderCollection.

Syntax

public void Remove (SoapHeader header)

Parameters

header
The System.Web.Services.Protocols.SoapHeader to remove from the System.Web.Services.Protocols.SoapHeaderCollection.

Remarks

The System.Web.Services.Protocols.SoapHeader elements that follow the removed System.Web.Services.Protocols.SoapHeader move up to occupy the vacated spot.

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0