Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Collections Namespace / Advisable­Collection(T) Class / Advisable­Collection(T) Methods / Advisable­Collection(T).​Move Method

AdvisableCollection<T>.Move Method

Moved the element at the specified index to another index.

Namespace:  PostSharp.Patterns.Collections
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.0.18.0 (6.0.18.0)
Syntax
C#
public void Move(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex
Type: System.Int32
The old zero-based index of the item to be moved.
newIndex
Type: System.Int32
The new zero-based index of the item to be moved.
See Also