ProfileGroupSettingsCollection.IndexOf Method (ProfileGroupSettings)


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the index of the specified ProfileGroupSettings object.

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

public int IndexOf(
	ProfileGroupSettings group


Type: System.Web.Configuration.ProfileGroupSettings

A ProfileGroupSettings object in the collection.

Return Value

Type: System.Int32

The index of the specified ProfileGroupSettings object, or -1 if the specified ProfileGroupSettings object is not contained in the collection.

.NET Framework
Available since 2.0
Return to top