WsiProfilesElementCollection.IndexOf Method (WsiProfilesElement)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Web.Services.Configuration
Assembly:  System.Web.Services (in System.Web.Services.dll)

public int IndexOf(
	WsiProfilesElement element
)

Parameters

element
Type: System.Web.Services.Configuration.WsiProfilesElement

The WsiProfilesElement to find in the collection.

Return Value

Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
Show: