Bewerken

Delen via


TypeElementCollection.IndexOf(TypeElement) Method

Definition

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

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

Parameters

element
TypeElement

The TypeElement to find in the collection.

Returns

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

Applies to