ProfilePropertySettingsCollection.IndexOf(ProfilePropertySettings) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.