ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Metod

Definition

Lägger till det angivna ProfilePropertySettings objektet i samlingen.

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)

Parametrar

propertySettings
ProfilePropertySettings

Ett ProfilePropertySettings objekt.

Undantag

Objektet ProfilePropertySettings 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