LEADTOOLS (Leadtools assembly)

Move Method

Show in webframe







The 0-based index specifying the location of the item to be moved.
The 0-based index specifying the new location of the item.
Moves the item at the specified index to a new location in the collection.
Syntax
public void Move( 
   int oldIndex,
   int newIndex
)
'Declaration
 
Public Sub Move( _
   ByVal oldIndex As Integer, _
   ByVal newIndex As Integer _
) 
'Usage
 
Dim instance As LeadCollection(Of T)
Dim oldIndex As Integer
Dim newIndex As Integer
 
instance.Move(oldIndex, newIndex)
public void Move( 
   int oldIndex,
   int newIndex
)

            

            
 function Leadtools.LeadCollection.Move( 
   oldIndex ,
   newIndex 
)
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

See Also

Reference

LeadCollection<T> Class
LeadCollection<T> Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.