Aracılığıyla paylaş


BasicProfileViolationCollection.IndexOf(BasicProfileViolation) Yöntem

Tanım

Koleksiyonda belirtilen öğesinin sıfır tabanlı dizinini döndürür BasicProfileViolation .

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

Parametreler

violation
BasicProfileViolation

BasicProfileViolationKoleksiyonda bulunacak.

Döndürülenler

Int32

BasicProfileViolationÖğe koleksiyonda bulunmazsa, belirtilen veya-1 ' in sıfır tabanlı dizini.

Şunlara uygulanır