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.280
Syntax
C#
[ObsoleteAttribute("Functionality has been removed.", false)] public bool MergeToNeighborRegion( int index, bool preRegion )
VB
<ObsoleteAttribute("Functionality has been removed.", false)> Public Function MergeToNeighborRegion ( index As Integer, preRegion As Boolean ) As Boolean
C++
public: [ObsoleteAttribute(L"Functionality has been removed.", false)] 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
BooleanExceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the merged region has no previous or next region, such as turn lane's widening region. |
Remarks
- When preRegion is false and the input region is the last one, the method won't execute but still return true.
- When preRegion is true and the input region is the first one, the method won't execute but still return true.
- You should get a new Count of this collection after executing this method.