Upraviť

Zdieľať cez


ProtocolElementCollection.IndexOf(ProtocolElement) Method

Definition

Returns the zero-based index of a specified ProtocolElement in the collection.

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

Parameters

element
ProtocolElement

The ProtocolElement to find in the collection.

Returns

The zero-based index of the specified ProtocolElement, or -1 if the element was not found in the collection.

Applies to