Idioma

ProfilePropertySettingsCollection.Set(ProfilePropertySettings) Método

Definição

Adiciona o objeto especificado ProfilePropertySettings à coleção.

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)

Parâmetros

propertySettings
ProfilePropertySettings

Um ProfilePropertySettings objeto.

Exceções

O ProfilePropertySettings objeto a ser adicionado já existe na coleção ou a coleção é somente leitura.

Comentários

Chamar esse método tem o mesmo efeito que chamar o Add método.

Aplica-se a

Confira também