Språk

ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) Metod

Definition

Returnerar indexet för det angivna ProfilePropertySettings objektet.

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

Parametrar

propertySettings
ProfilePropertySettings

Ett ProfilePropertySettings objekt i samlingen.

Returer

Indexet för det angivna ProfilePropertySettings objektet eller -1 om objektet inte hittas i samlingen.

Gäller för

Se även