Прочетете на английски Редактиране

Споделяне чрез


ExpressionBindingCollection.Remove Method

Definition

Removes the specified ExpressionBinding object from the collection.

Overloads

Remove(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the specified ExpressionBinding object from the collection.

Remove(ExpressionBinding)

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the specified ExpressionBinding object from the collection.

Remove(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code.

Removes the specified ExpressionBinding object from the collection.

Remove(String)

Removes the specified ExpressionBinding object from the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public void Remove(string propertyName);

Parameters

propertyName
String

The PropertyName of the ExpressionBinding to remove from the collection.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Remove(ExpressionBinding)

Removes the specified ExpressionBinding object from the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public void Remove(System.Web.UI.ExpressionBinding binding);

Parameters

binding
ExpressionBinding

The ExpressionBinding to remove from the collection.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Remove(String, Boolean)

Removes the specified ExpressionBinding object from the collection.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
public void Remove(string propertyName, bool addToRemovedList);

Parameters

propertyName
String

The PropertyName of the ExpressionBinding to remove from the collection.

addToRemovedList
Boolean

true to add the ExpressionBinding to the RemovedBindings collection; otherwise, false.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1