ServiceDescriptionCollection::IndexOf Method (ServiceDescription^)
.NET Framework (current version)
Searches for the specified ServiceDescription and returns the zero-based index of the first occurrence within the collection.
Assembly: System.Web.Services (in System.Web.Services.dll)
Parameters
- serviceDescription
-
Type:
System.Web.Services.Description::ServiceDescription^
The ServiceDescription for which to search in the collection.
Return Value
Type: System::Int32The zero-based index of the specified service description, or -1 if the element was not found in the collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: