←Select platform

Move Method

Summary

Moves the item at the specified index to a new location in the collection.

Syntax

C#
VB
C++
public void Move(  
   int oldIndex, 
   int newIndex 
) 
Public Sub Move( _ 
   ByVal oldIndex As Integer, _ 
   ByVal newIndex As Integer _ 
)  
public: 
void Move(  
   int oldIndex, 
   int newIndex 
)  

Parameters

oldIndex
The 0-based index specifying the location of the item to be moved.

newIndex
The 0-based index specifying the new location of the item.

Remarks

This method raises the CollectionChanged event with Move action.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize