ProtocolElementCollection.IndexOf(ProtocolElement) Metoda

Definice

Vrátí index založený na nule zadaného ProtocolElement v kolekci.

public:
 int IndexOf(System::Web::Services::Configuration::ProtocolElement ^ element);
public int IndexOf (System.Web.Services.Configuration.ProtocolElement element);
member this.IndexOf : System.Web.Services.Configuration.ProtocolElement -> int
Public Function IndexOf (element As ProtocolElement) As Integer

Parametry

element
ProtocolElement

ProtocolElementHledání v kolekci.

Návraty

Int32

Index založený na nule ProtocolElement , nebo-1, pokud element nebyl v kolekci nalezen.

Platí pro