The collection of all baselines in a corridor are contained in the Corridor.Baselines property, which is type BaselineCollection.
The following sample displays information about the underlying alignment and profile for every baseline in a corridor:
foreach (Baseline oBaseline in oCorridor.Baselines) { Alignment oAlign = ts.GetObject(oBaseline.AlignmentId, OpenMode.ForRead) as Alignment; Profile oProfile = ts.GetObject(oBaseline.ProfileId, OpenMode.ForRead) as Profile; ed.WriteMessage(@"Baseline information - Alignment : {0} Profile : {1} Start station : {2} End station : {3}", oAlign.Name, oProfile.Name, oBaseline.StartStation, oBaseline.EndStation); }