ObservableCollectionExtended<(Of <(<'T>)>)>..::..RemoveItem Method

Removes the element at the specified index of the [Collection{T}].

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


protected void RemoveItem(
	int index
)
Protected Sub RemoveItem ( _
	index As Integer _
)

Parameters

index
Type: Int32
The zero-based index of the element to remove.

Exceptions


ExceptionCondition
[ArgumentOutOfRangeException]index is less than zero -or-index is equal to or greater than [Collection{T}.Count].

Remarks


Do NOT invoke this method directly. This may be overridden to provide additional validation before an item is removed to the collection.