ExpressionBuilderCollection.RemoveAt(Int32) Method

Definition

Removes an ExpressionBuilder object from the ExpressionBuilderCollection collection.

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

An integer value specifying a specific ExpressionBuilder object within the ExpressionBuilderCollection collection.

Examples

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

// Remove an ExpressionBuilder.
configSection.ExpressionBuilders.Remove("myCustomExpression");
' Remove an ExpressionBuilder.
configSection.ExpressionBuilders.Remove("myCustomExpression")

Remarks

If the assembly does not exist in the collection, an out-of-range exception is thrown.

Applies to