แก้ไข

แชร์ผ่าน


ExpressionBuilderCollection.Remove(String) Method

Definition

Removes an ExpressionBuilder object from the ExpressionBuilderCollection 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

A string value specifying the ExpressionBuilder reference.

Examples

The following code example demonstrates how to use the Remove method. This code example is part of a larger example provided for the ExpressionBuilderCollection class.

// Remove an ExpressionBuilder.
configSection.ExpressionBuilders.RemoveAt
  (configSection.ExpressionBuilders.Count-1);
' Remove an ExpressionBuilder.
configSection.ExpressionBuilders.RemoveAt _
 (configSection.ExpressionBuilders.Count - 1)

Remarks

If the assembly does not exist in the collection, the statement is ignored.

Applies to