SoapHeaderCollection.Remove Method (SoapHeader)

 

Removes the first occurrence of a specific SoapHeader from the SoapHeaderCollection.

Namespace:   System.Web.Services.Protocols
Assembly:  System.Web.Services (in System.Web.Services.dll)

member Remove : 
        header:SoapHeader -> unit

Parameters

header
Type: System.Web.Services.Protocols.SoapHeader

The SoapHeader to remove from the SoapHeaderCollection.

The SoapHeader elements that follow the removed SoapHeader move up to occupy the vacated spot.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: