System.Web.Services.Description.WebReferenceCollection.IndexOf Method

Determines the index of the specified System.Web.Services.Description.WebReference instance.

Syntax

public int IndexOf (WebReference webReference)

Parameters

webReference
The Web reference to search for.

Returns

The index of the specified Web reference, or -1 if the collection does not contain the specified Web reference.

Remarks

The index is zero based.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0