Redigera

Dela via


ServiceModelConfigurationElementCollection<ConfigurationElementType>.BaseAdd Method

Definition

Adds the specified ConfigurationElement object to this collection.

protected:
 override void BaseAdd(System::Configuration::ConfigurationElement ^ element);
protected override void BaseAdd (System.Configuration.ConfigurationElement element);
override this.BaseAdd : System.Configuration.ConfigurationElement -> unit
Protected Overrides Sub BaseAdd (element As ConfigurationElement)

Parameters

element
ConfigurationElement

The configuration element to add.

Exceptions

element is null or empty.

The configuration file contains an existing element identical to element.

Applies to