BasicProfileViolationCollection.IndexOf(BasicProfileViolation) Methode

Definitie

Retourneert de op nul gebaseerde index van een opgegeven BasicProfileViolation in de verzameling.

public:
 int IndexOf(System::Web::Services::Description::BasicProfileViolation ^ violation);
public int IndexOf(System.Web.Services.Description.BasicProfileViolation violation);
member this.IndexOf : System.Web.Services.Description.BasicProfileViolation -> int
Public Function IndexOf (violation As BasicProfileViolation) As Integer

Parameters

violation
BasicProfileViolation

De BasicProfileViolation te vinden in de verzameling.

Retouren

De op nul gebaseerde index van de opgegeven BasicProfileViolationof -1 als het element niet in de verzameling is gevonden.

Van toepassing op