Adds a region with the given region name and assembly after the last region.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public BaselineRegion Add( string regionName, string assemblyName )
Visual Basic
Public Function Add ( _ regionName As String, _ assemblyName As String _ ) As BaselineRegion
Visual C++
public: BaselineRegion^ Add( String^ regionName, String^ assemblyName )
Parameters
- regionName
- Type: System.String
Name of the created region.
- assemblyName
- Type: System.String
Name of the assembly used to create the region.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the region name or assembly name is invalid. |
System.InvalidOperationException | Thrown when the last BaselineRegion's EndStation is equal to Baseline's EndStaion. |