AdvisableKeyedCollection<TKey, TItem>.MoveItem Method |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)

protected override void MoveItem( TItem item, int oldIndex, int newIndex )
Parameters
- item
- Type: TItem
The element to be moved. - oldIndex
- Type: System.Int32
The old zero-based index of item in the collection. - newIndex
- Type: System.Int32
The new zero-based index of item in the collection.

Some redundancy is created by requiring both item and oldIndex: this is intentional, for performance reasons.
