KeyValueConfigurationCollection.Remove(String) Method

Definition

Removes a KeyValueConfigurationElement object from the collection.

public:
 void Remove(System::String ^ key);
public void Remove (string key);
member this.Remove : string -> unit
Public Sub Remove (key As String)

Parameters

key
String

A string specifying the key.

Remarks

Remove does not throw an exception if the object is not found.

Applies to