BasicProfileViolationCollection.IndexOf(BasicProfileViolation) Methode

Definition

Gibt den nullbasierten Index eines in der Auflistung angegebenen BasicProfileViolation Werts zurück.

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

Parameter

violation
BasicProfileViolation

Der BasicProfileViolation in der Auflistung zu findende

Gibt zurück

Der nullbasierte Index des angegebenen BasicProfileViolationoder -1, wenn das Element in der Auflistung nicht gefunden wurde.

Gilt für: