ServiceModelConfigurationElementCollection<ConfigurationElementType>.RemoveAt Method (Int32)

 

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

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

public void RemoveAt(
	int index
)

Parameters

index
Type: System.Int32

The zero-based index of the configuration element to remove.

Exception Condition
ArgumentNullException

index is null.

-and-

The configuration file is read-only.

.NET Framework
Available since 3.0
Return to top
Show: