This documentation is archived and is not being maintained.

SoapHeaderCollection.Contains Method

Determines whether the SoapHeaderCollection contains a specific SoapHeader.

[Visual Basic]
Public Function Contains( _
   ByVal header As SoapHeader _
) As Boolean
[C#]
public bool Contains(
 SoapHeader header
);
[C++]
public: bool Contains(
 SoapHeader* header
);
[JScript]
public function Contains(
   header : SoapHeader
) : Boolean;

Parameters

header
The SoapHeader to locate in the SoapHeaderCollection.

Return Value

true if the value of the header parameter is found in the SoapHeaderCollection; otherwise, false.

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 | Contains | IList | SoapHeader

Show: