Język

ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Metoda

Definicja

Dodaje określony ProfilePropertySettings obiekt do kolekcji.

public:
 void Set(System::Web::Configuration::ProfilePropertySettings ^ propertySettings);
public void Set(System.Web.Configuration.ProfilePropertySettings propertySettings);
member this.Set : System.Web.Configuration.ProfilePropertySettings -> unit
Public Sub Set (propertySettings As ProfilePropertySettings)

Parametry

Wyjątki

Obiekt do dodania ProfilePropertySettings już istnieje w kolekcji lub kolekcja jest tylko do odczytu.

Uwagi

Wywołanie tej metody ma taki sam efekt, jak wywołanie Add metody.

Dotyczy

Zobacz też