共用方式為


DataSourceElementCollection.Remove Method

Definition

Overloads

Remove(DataSourceElement)

Removes a System.Configuration.ConfigurationElement from the collection.

Remove(String)

Removes a System.Configuration.ConfigurationElement from the collection.

Remove(DataSourceElement)

Removes a System.Configuration.ConfigurationElement from the collection.

public:
 void Remove(Microsoft::VisualStudio::TestTools::UnitTesting::DataSourceElement ^ element);
public void Remove (Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElement element);
member this.Remove : Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElement -> unit
Public Sub Remove (element As DataSourceElement)

Parameters

Applies to

Remove(String)

Removes a System.Configuration.ConfigurationElement from the collection.

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

Parameters

name
String

The key of the System.Configuration.ConfigurationElement to remove.

Applies to