A collection of Baseline objects.
Inheritance Hierarchy
SystemObject[T:Autodesk.Civil.CivilWrapper<AeccDbCorridor>]
Autodesk.Civil.DatabaseServicesBaselineCollection
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public sealed class BaselineCollection : [T:Autodesk.Civil.CivilWrapper<AeccDbCorridor>], IEnumerable<Baseline>
VB
Public NotInheritable Class BaselineCollection Inherits [T:Autodesk.Civil.CivilWrapper<AeccDbCorridor>] Implements IEnumerable(Of Baseline)
C++
public ref class BaselineCollection sealed : public [T:Autodesk.Civil.CivilWrapper<AeccDbCorridor>], IEnumerable<Baseline^>
The BaselineCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CorridorId | Gets the ObjectId of the parent Corridor. | |
| Count | Gets the number of Baseline objects in the collection. | |
| ItemGuid | ||
| ItemInt32 | ||
| ItemString |
Methods
| Name | Description | |
|---|---|---|
| Add(String, ObjectId) | Adds a baseline with the given baseline name, feature line. | |
| Add(String, ObjectId, ObjectId) | Adds a baseline with the given baseline name, alignment and profile. | |
| Add(String, String, String) | Adds a baseline with the given baseline name, alignment and profile. | |
| AddGUIDBaseline | Adds a baseline with the given baseline name, alignment, profile, and GUID. | |
| GetEnumerator | Implement the method declare in IEnumerable interface. This method return an enumerator which can be use to enumerate this collection. | |
| GetObjectEnumerator | Implement the method declare in IEnumerable<T> interface. This method return an enumerator which can be use to enumerate this collection. | |
| Remove(Baseline) | Removes the given Baseline object. | |
| Remove(String) | Removes the Baseline with the given name. | |
| RemoveAt | Removes the Baseline at the specified index. |
Remarks
The Corridor object exposes a property 'Baselines', which returns this collection to allow access to all the contained Baseline objects.
