VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation Namespace / AnnotationDataCollection Class / Swap Method
Index of the first element.
Index of the second element.



In This Topic
    Swap Method (AnnotationDataCollection)
    In This Topic
    Swaps two elements in the collection.
    Syntax
    'Declaration
     
    Public Sub Swap( _
       ByVal firstIndex As Integer, _
       ByVal secondIndex As Integer _
    ) 
    public void Swap( 
       int firstIndex,
       int secondIndex
    )
    public: void Swap( 
       int firstIndex,
       int secondIndex
    ) 
    public:
    void Swap( 
       int firstIndex,
       int secondIndex
    ) 

    Parameters

    firstIndex
    Index of the first element.
    secondIndex
    Index of the second element.
    Exceptions
    ExceptionDescription
    Thrown if the firstIndex or secondIndex are out of range.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also