AlignmentRegionCollectionMergeToNeighborRegion Method |
Note: This API is now obsolete.
Merges the specified region to neighbor region.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax[ObsoleteAttribute("Functionality has been removed.", false)]
public bool MergeToNeighborRegion(
int index,
bool preRegion
)
<ObsoleteAttribute("Functionality has been removed.", false)>
Public Function MergeToNeighborRegion (
index As Integer,
preRegion As Boolean
) As Boolean
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
Boolean
ExceptionsException | 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.
See Also