ProfileGroupSettingsCollection.Set(ProfileGroupSettings) Metod

Definition

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

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.

Gäller för

Se även