ServiceCollection.IndexOf Method (Service)

 

Searches for the specified Service and returns the zero-based index of the first occurrence within the ServiceCollection.

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

member IndexOf : 
        service:Service -> int

Parameters

service
Type: System.Web.Services.Description.Service

The Service for which to search in the collection.

Return Value

Type: System.Int32

A 32-bit signed integer.

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

.NET Framework
Available since 1.1
Return to top
Show: