ModelItemCollection.Move(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Moves an item in the collection to a different index.
public:
abstract void Move(int fromIndex, int toIndex);
public abstract void Move (int fromIndex, int toIndex);
abstract member Move : int * int -> unit
Public MustOverride Sub Move (fromIndex As Integer, toIndex As Integer)
Parameters
- fromIndex
- Int32
The index of the item to be moved before the move.
- toIndex
- Int32
The index of the item after it is moved.
Exceptions
Either fromIndex
or toIndex
is negative or greater than or equal to Count.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.