ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) Method

Definition

Returns the index of the specified ProfilePropertySettings object.

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

Parameters

propertySettings
ProfilePropertySettings

A ProfilePropertySettings object in the collection.

Returns

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

Applies to

See also