RemoveAt Method (Object)
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft