Breyta

Deila með


BindingSource.Remove(Object) Method

Definition

Removes the specified item from the list.

public:
 virtual void Remove(System::Object ^ value);
public virtual void Remove (object value);
public virtual void Remove (object? value);
abstract member Remove : obj -> unit
override this.Remove : obj -> unit
Public Overridable Sub Remove (value As Object)

Parameters

value
Object

The item to remove from the underlying list represented by the List property.

Implements

Exceptions

The underlying list has a fixed size or is read-only.

Remarks

The Remove method causes the list to be searched for the value parameter. If found, this method will attempt to remove the item from the List. This attempt will fail if the list has a fixed size or is read-only. These two conditions can be tested with the IsFixedSize and IsReadOnly properties, respectively.

This method raises the ListChanged event.

Applies to

See also