DicomObjects.NET.V8
DicomObjects Namespace / DicomImageCollection Class / Move Method

The current index in the collection

The destination index for the image within the collection




In This Topic
    Move Method (DicomImageCollection)
    In This Topic
    Syntax
    'Declaration
     
    Public Sub Move( _
       ByVal From As Integer, _
       ByVal To As Integer _
    ) 
    'Usage
     
    Dim instance As DicomImageCollection
    Dim From As Integer
    Dim To As Integer
     
    instance.Move(From, To)
    public void Move( 
       int From,
       int To
    )
    public:
    void Move( 
       int From,
       int To
    ) 

    Parameters

    From

    The current index in the collection

    To

    The destination index for the image within the collection

    Remarks
    By using Move, Images may be re-ordered within the collection. The Image referred to by the index is placed at the position given by To, other Images are kept in sequence but moved as necessary to accommodate the moved item.
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also