Edit

Share via


ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Method

Definition

Adds the specified ProfilePropertySettings object to the collection.

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)

Parameters

Exceptions

The ProfilePropertySettings object to add already exists in the collection, or the collection is read-only.

Remarks

Calling this method has the same effect as calling the Add method.

Applies to

See also