Freigeben über


ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) Methode

Definition

Gibt den Index des angegebenen ProfilePropertySettings-Objekts zurück.

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

Parameter

propertySettings
ProfilePropertySettings

Ein ProfilePropertySettings-Objekt in der Auflistung.

Gibt zurück

Int32

Der Index des angegebenen ProfilePropertySettings-Objekts oder -1, wenn das Objekt nicht in der Auflistung gefunden wird.

Gilt für

Siehe auch