ItemCollection.Remove(Object) ItemCollection.Remove(Object) ItemCollection.Remove(Object) ItemCollection.Remove(Object) Method

Definition

Removes the specified item reference from the collection or view.

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

Parameters

removeItem
Object Object Object Object

The object to remove.

Implements

Exceptions

Remarks

When an item is removed from the collection, any remaining items with higher index values decrement their index by one as the size of the collection collapses.

Applies to