SoapHeaderCollection.IndexOf Method (SoapHeader)

 

Determines the index of the SoapHeader in the SoapHeaderCollection.

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

member IndexOf : 
        header:SoapHeader -> int

Parameters

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

The SoapHeader to locate in the SoapHeaderCollection.

Return Value

Type: System.Int32

The index of the header parameter, if found in the SoapHeaderCollection; otherwise, -1.

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

.NET Framework
Available since 1.1
Return to top
Show: