[This is preliminary documentation and is subject to change.]

When overriden in derived class removes the ListWithEvents<(Of <(<'T>)>)> item at the specified index.

Namespace: Tools.CollectionsT.GenericT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public abstract void RemoveAt(
	int index
)
Visual Basic
Public MustOverride Sub RemoveAt ( _
	index As Integer _
)
Visual C++
public:
virtual void RemoveAt(
	int index
) abstract
F#
abstract RemoveAt : 
        index:int -> unit 
JScript
public abstract function RemoveAt(
	index : int
)

Parameters

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

Implements

IList..::..RemoveAt(Int32)

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionindex is not a valid index in the ListWithEvents<(Of <(<'T>)>)>.
System..::..InvalidOperationExceptionLocked is True
System..::..OperationCanceledExceptionOperation is canceled in eventhandler and CancelError is true
System..::..ExceptionAny Exception can be thrown by event handler of the Removing event -or- Any excption may be thrown by OnRemoving(ICollection, Nullable<(Of <<'(Int32>)>>)) when AllowItemCancel is true.

See Also