Share via


PSDataCollection<T>.RemoveItem(Int32) Method

Definition

Removes the item at a specified index.

protected:
 virtual void RemoveItem(int index);
protected:
 virtual void RemoveItem(int index);
 virtual void RemoveItem(int index);
protected virtual void RemoveItem (int index);
abstract member RemoveItem : int -> unit
override this.RemoveItem : int -> unit
Protected Overridable Sub RemoveItem (index As Integer)

Parameters

index
Int32

The zero-based index of the buffer where the object is to be removed.

Exceptions

The index specified is less than zero or greater than the number of items in the buffer.

Applies to