Share

SurfaceOperationCollection.Swap Method

Swaps the order for two operations in the current collection.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public void Swap(
	SurfaceOperation firstOperation,
	SurfaceOperation secondOperation
)

VB

Public Sub Swap ( 
	firstOperation As SurfaceOperation,
	secondOperation As SurfaceOperation
)

C++

public:
void Swap(
	SurfaceOperation^ firstOperation, 
	SurfaceOperation^ secondOperation
)

Parameters

firstOperation  SurfaceOperation
The first operation in the current collection that needs to be swapped.
secondOperation  SurfaceOperation
The second operation in the current collection that needs to be swapped.

Exceptions

ExceptionCondition
ArgumentException Thrown when the firstOperation or secondOperation is not included in the current collection.

See Also

Reference

Was this information helpful?