Share

BaselineCollection Class

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

 NameDescription
Public propertyCorridorId Gets the ObjectId of the parent Corridor.
Public propertyCount Gets the number of Baseline objects in the collection.
Public propertyItemGuid 
Public propertyItemInt32 
Public propertyItemString 

Methods

 NameDescription
Public methodAdd(String, ObjectId) Adds a baseline with the given baseline name, feature line.
Public methodAdd(String, ObjectId, ObjectId) Adds a baseline with the given baseline name, alignment and profile.
Public methodAdd(String, String, String) Adds a baseline with the given baseline name, alignment and profile.
Public methodAddGUIDBaseline Adds a baseline with the given baseline name, alignment, profile, and GUID.
Public methodGetEnumerator Implement the method declare in IEnumerable interface. This method return an enumerator which can be use to enumerate this collection.
Public methodGetObjectEnumerator Implement the method declare in IEnumerable<T> interface. This method return an enumerator which can be use to enumerate this collection.
Public methodRemove(Baseline) Removes the given Baseline object.
Public methodRemove(String) Removes the Baseline with the given name.
Public methodRemoveAt 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.

See Also

Reference

Was this information helpful?