ConfigurationPropertyCollection::Add Method (ConfigurationProperty^)

 

Adds a configuration property to the collection.

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

public:
void Add(
	ConfigurationProperty^ property
)

By default, the Add method will add the specified ConfigurationProperty object, if it is not already contained within the collection.

The following example shows how to use the Add method.

.NET Framework
Available since 2.0
Return to top
Show: