DicomObjects.NET.8.48 Documentation
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 System.Integer, _
       ByVal To As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomImageCollection
    Dim From As System.Integer
    Dim To As System.Integer
     
    instance.Move(From, To)
    public void Move( 
       System.int From,
       System.int To
    )
    public procedure Move( 
        From: System.Integer;
        To: System.Integer
    ); 
    public function Move( 
       From : System.int,
       To : System.int
    );
    public: void Move( 
       System.int From,
       System.int To
    ) 
    public:
    void Move( 
       System.int From,
       System.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 4.8 or higher

    See Also