[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.GenericTAssembly: 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
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | index is not a valid index in the ListWithEvents<(Of <(<'T>)>)>. |
| System..::..InvalidOperationException | Locked is True |
| System..::..OperationCanceledException | Operation is canceled in eventhandler and CancelError is true |
| System..::..Exception | Any 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. |