ServiceModelConfigurationElementCollection<ConfigurationElementType>.Add Method

Definition

Adds the specified configuration element to this collection.

public:
 void Add(ConfigurationElementType element);
public void Add (ConfigurationElementType element);
member this.Add : 'ConfigurationElementType -> unit
Public Sub Add (element As ConfigurationElementType)

Parameters

element
ConfigurationElementType

The configuration element to be added.

Exceptions

element is null or empty.

Applies to