System.Web.Configuration.ClientTargetCollection.Remove Method

Removes the specified System.Web.Configuration.ClientTarget object from the collection.

Syntax

public void Remove (ClientTarget clientTarget)

Parameters

clientTarget
The System.Web.Configuration.ClientTarget to remove.

Remarks

The ClientTargetCollection.Remove(ClientTarget) method deletes the add element in the clientTarget section at the current hierarchy level and inserts a remove element. The remove element effectively removes the reference to the add element defined in the parent configuration files at higher levels in the hierarchy but does not delete it.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0