Swaps the order for two operations in the current collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void Swap( SurfaceOperation firstOperation, SurfaceOperation secondOperation ) |
Visual Basic |
---|
Public Sub Swap ( _ firstOperation As SurfaceOperation, _ secondOperation As SurfaceOperation _ ) |
Visual C++ |
---|
public: void Swap( SurfaceOperation^ firstOperation, SurfaceOperation^ secondOperation ) |
Parameters
- firstOperation
- Type: Autodesk.Civil.DatabaseServices..::..SurfaceOperation
The first operation in the current collection that needs to be swapped.
- secondOperation
- Type: Autodesk.Civil.DatabaseServices..::..SurfaceOperation
The second operation in the current collection that needs to be swapped.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | Thrown when the firstOperation or secondOperation is not included in the current collection. |