MediaItemCollection.MoveItem Method

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

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Protected Overrides Sub MoveItem ( _
    oldIndex As Integer, _
    newIndex As Integer _
)
'Usage
Dim oldIndex As Integer
Dim newIndex As Integer

Me.MoveItem(oldIndex, newIndex)
protected override void MoveItem (
    int oldIndex,
    int newIndex
)
protected:
virtual void MoveItem (
    int oldIndex, 
    int newIndex
) override

Parameters

oldIndex

The zero-based index specifying the location of the media item to be moved.

newIndex

The zero-based index specifying the new location of the media item.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MediaItemCollection Class
MediaItemCollection Members
Microsoft.Expression.Encoder Namespace