Editar

Partilhar via


WsiProfilesElementCollection.IndexOf(WsiProfilesElement) Method

Definition

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

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

Parameters

element
WsiProfilesElement

The WsiProfilesElement to find in the collection.

Returns

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

Applies to