ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Methode

Definition

Fügt das angegebene ProfilePropertySettings Objekt der Auflistung hinzu.

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)

Parameter

propertySettings
ProfilePropertySettings

Ein ProfilePropertySettings-Objekt.

Ausnahmen

Das ProfilePropertySettings hinzuzufügende Objekt ist bereits in der Auflistung vorhanden, oder die Auflistung ist schreibgeschützt.

Hinweise

Das Aufrufen dieser Methode hat die gleiche Auswirkung wie das Aufrufen der Add Methode.

Gilt für:

Weitere Informationen