Click or drag to resize

IMcFeaturesListMoveInList Method

Moves an item to a new position in the list

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Sub MoveInList ( 
	ItemIndex As Integer,
	NewIndex As Integer
)

Parameters

ItemIndex
Type: SystemInt32
The zero-based position of the list item to be moved.
NewIndex
Type: SystemInt32
The zero-based position to where the item is to be moved. (e.g., 0 is the first list position and Count-1 is the last list position).
Remarks
The Add method always appends a list item to the end of the list (unless the Name matches an existing item, in which case it replaces the existing item). So if you want to keep the list in some other order, you can move items.
See Also