ServiceModelConfigurationElementCollection<ConfigurationElementType>.Add Method (ConfigurationElementType)

 

Adds the specified configuration element to this collection.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public void Add(
	ConfigurationElementType element
)

Parameters

element
Type: ConfigurationElementType

The configuration element to be added.

Exception Condition
ArgumentNullException

element is null or empty.

.NET Framework
Available since 3.0
Return to top
Show: