You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

Collection<T>.Move Method

Applies to: Graphics Mill Web Controls · Archived documentation

Moves an item from one position to another.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

C#
public virtual T Move(
	int oldIndex,
	int newIndex
)

Parameters

oldIndex

Type: System..Int32

The zero-based index of the item to move.
newIndex

Type: System..Int32

The zero-based index to move the item to.

Return Value

The item that was moved.

See Also

Reference