This documentation is for the old version. Go to the latest Graphics Mill docs

ListItemCollection.Swap Method

Swaps the elements of the list.

Overload List

Name Description
Public method Swap(Int32, Int32)

Swaps two elements with the specified indices.

Public method Swap(Int32[], Int32)

Shifts elements with the specified indices to a specific position.

Public method Swap(IListItem, IListItem)

Swaps two elements of the list.

Public method Swap(IListItem[], Int32)

Shifts the specified elements to a specific position.

See Also

Reference