BaselineRegionCollectionAddRegion(String, String) Method

Note: This API is now obsolete.

Creates a region with the given name.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.BaselineRegionCollection.Add instead.", 
	false)]
public BaselineRegion AddRegion(
	string regionName,
	string assemblyName
)

Parameters

regionName  String
Name of the created region.
assemblyName  String
Name of the assembly used to create the region.

Return Value

BaselineRegion
Exceptions
ExceptionCondition
ArgumentException Thrown when the region name or assembly name is invalid.
InvalidOperationException Thrown when the last BaselineRegion's EndStation is equal to Baseline's EndStaion.
See Also