Modifier

Partager via


SoapExtensionTypeElementCollection.IndexOf(SoapExtensionTypeElement) Method

Definition

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

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

Parameters

element
SoapExtensionTypeElement

The SoapExtensionTypeElement to find in the collection.

Returns

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

Applies to