AlignmentRegionCollectionMergeToNeighborRegion Method

Note: This API is now obsolete.

Merges the specified region to neighbor region.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
[ObsoleteAttribute("Functionality has been removed.", false)]
public bool MergeToNeighborRegion(
	int index,
	bool preRegion
)

Parameters

index  Int32
AlignmentRegion index. And the corresponding region's offset will be changed.
preRegion  Boolean
Specify whether merge to previous region or next region.

Return Value

Boolean
Exceptions
ExceptionCondition
InvalidOperationException Thrown when the merged region has no previous or next region, such as turn lane's widening region.
Remarks
  1. When preRegion is false and the input region is the last one, the method won't execute but still return true.
  2. When preRegion is true and the input region is the first one, the method won't execute but still return true.
  3. You should get a new Count of this collection after executing this method.
See Also