ProfilePropertySettingsCollection.IndexOf Method (ProfilePropertySettings)

 

Returns the index of the specified ProfilePropertySettings object.

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

public int IndexOf(
	ProfilePropertySettings propertySettings
)

Parameters

propertySettings
Type: System.Web.Configuration.ProfilePropertySettings

A ProfilePropertySettings object in the collection.

Return Value

Type: System.Int32

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

.NET Framework
Available since 2.0
Return to top
Show: