Sdílet prostřednictvím


ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Metoda

Definice

Přidá zadaný ProfilePropertySettings objekt do kolekce.

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

Výjimky

Objekt ProfilePropertySettings , který chcete přidat, již v kolekci existuje nebo je kolekce jen pro čtení.

Poznámky

Volání této metody má stejný účinek jako volání Add metody.

Platí pro

Viz také