Compartir a través de


BulkObservableCollection<T>.MoveItem Method

Moves the item from one location to another.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Protected Overrides Sub MoveItem ( _
    oldIndex As Integer, _
    newIndex As Integer _
)
protected override void MoveItem(
    int oldIndex,
    int newIndex
)
protected:
virtual void MoveItem(
    int oldIndex, 
    int newIndex
) override
abstract MoveItem : 
        oldIndex:int * 
        newIndex:int -> unit  
override MoveItem : 
        oldIndex:int * 
        newIndex:int -> unit
protected override function MoveItem(
    oldIndex : int, 
    newIndex : int
)

Parameters

  • oldIndex
    Type: Int32

    The original location.

  • newIndex
    Type: Int32

    The new location.

.NET Framework Security

See Also

Reference

BulkObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace