This documentation is archived and is not being maintained.
SoapHeaderCollection.IndexOf Method
.NET Framework 1.1
Determines the index of the SoapHeader in the SoapHeaderCollection.
[Visual Basic] Public Function IndexOf( _ ByVal header As SoapHeader _ ) As Integer [C#] public int IndexOf( SoapHeader header ); [C++] public: int IndexOf( SoapHeader* header ); [JScript] public function IndexOf( header : SoapHeader ) : int;
Parameters
- header
- The SoapHeader to locate in the SoapHeaderCollection.
Return Value
The index of the header parameter, if found in the SoapHeaderCollection; otherwise, -1.
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 | IndexOf | IList | SoapHeader
Show: