This documentation is archived and is not being maintained.
SoapHeaderCollection.Remove Method
.NET Framework 1.1
Removes the first occurrence of a specific SoapHeader from the SoapHeaderCollection.
[Visual Basic] Public Sub Remove( _ ByVal header As SoapHeader _ ) [C#] public void Remove( SoapHeader header ); [C++] public: void Remove( SoapHeader* header ); [JScript] public function Remove( header : SoapHeader );
Parameters
- header
- The SoapHeader to remove from the SoapHeaderCollection.
Remarks
The SoapHeader elements that follow the removed SoapHeader move up to occupy the vacated spot.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
SoapHeaderCollection Class | SoapHeaderCollection Members | System.Web.Services.Protocols Namespace | Remove | IList | SoapHeader
Show: