RemoveAt()

CollectionBase::RemoveAt(int32_t) method

Removes the element at the specified index of the collection instance. This method is not overridable.

void System::Collections::CollectionBase<T>::RemoveAt(int32_t index)

Arguments

ParameterTypeDescription
indexint32_tThe zero-based index of the element to remove.

Exceptions

ExceptionDescription
ArgumentOutOfRangeExceptionindex is less than zero. -or- index is equal to or greater than CollectionBase::Count.

See Also