ProfileGroupSettingsCollection.Set(ProfileGroupSettings) 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.
Lägger till det angivna ProfileGroupSettings objektet i samlingen.
public:
void Set(System::Web::Configuration::ProfileGroupSettings ^ group);
public void Set(System.Web.Configuration.ProfileGroupSettings group);
member this.Set : System.Web.Configuration.ProfileGroupSettings -> unit
Public Sub Set (group As ProfileGroupSettings)
Parametrar
- group
- ProfileGroupSettings
Ett ProfileGroupSettings objekt.
Undantag
Objektet ProfileGroupSettings som ska läggas till finns redan i samlingen, eller så är samlingen skrivskyddad.
Kommentarer
Att anropa den här metoden har samma effekt som att anropa Add metoden.