VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / ImageCollection Class / Swap(Int32,Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
Swap(Int32,Int32) Method (ImageCollection)
In This Topic
Swaps two elements in the collection.
Syntax
'Declaration

Public Sub Swap( _
ByVal firstIndex
Index of the first element.
As System.Int32, _
ByVal secondIndex
Index of the second element.
As System.Int32 _
)
public void Swap(
System.Int32 firstIndex,
System.Int32 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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also