System.Web.Services.Description.BasicProfileViolationCollection.IndexOf Method

Returns the zero-based index of a specified System.Web.Services.Description.BasicProfileViolation in the collection.

Syntax

public int IndexOf (BasicProfileViolation violation)

Parameters

violation
The System.Web.Services.Description.BasicProfileViolation to find in the collection.

Returns

The zero-based index of the specified System.Web.Services.Description.BasicProfileViolation, or -1 if the element was not found in the collection.

Remarks

Documentation for this section has not yet been entered.

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