Swap Method

Change the boundary draw order by Swapping the position of two FeatureLineComponent.

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

Syntax

C#

public void Swap(
	FeatureLineComponent component1,
	FeatureLineComponent component2
)

Visual Basic

Public Sub Swap ( _
	component1 As FeatureLineComponent, _
	component2 As FeatureLineComponent _
)

Visual C++

public:
void Swap(
	FeatureLineComponent^ component1, 
	FeatureLineComponent^ component2
)

Parameters

component1
Type: Autodesk.Civil.DatabaseServices.FeatureLineComponent
The FeatureLineComponent to be swapped.
component2
Type: Autodesk.Civil.DatabaseServices.FeatureLineComponent
The FeatureLineComponent to be swapped.

Exceptions

ExceptionCondition
System.ArgumentException Throw when the component1 or component2 is not included in current collection.

See Also