ServiceModelConfigurationElementCollection<ConfigurationElementType>::RemoveAt Method (Object^)

 

Removes the configuration element at the specified key of this collection.

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

public:
void RemoveAt(
	Object^ key
)

Parameters

key
Type: System::Object^

The specified key of the configuration element to remove.

Exception Condition
ArgumentNullException

key is null.

-and-

The configuration file is read-only.

.NET Framework
Available since 3.0
Return to top
Show: