ProfileGroupSettingsCollection.IndexOf(ProfileGroupSettings) Metod

Definition

Returnerar indexet för det angivna ProfileGroupSettings objektet.

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

Parametrar

group
ProfileGroupSettings

Ett ProfileGroupSettings objekt i samlingen.

Returer

Indexet för det angivna ProfileGroupSettings objektet eller -1 om det angivna ProfileGroupSettings objektet inte finns i samlingen.

Gäller för

Se även