Creates a minor label set item with the an major station label set item and an minior lable style name, adds it to the collection.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public void Add(
	BaseLabelSetItem majorStation,
	string minorStationLabelStyleName
)
Visual Basic
Public Sub Add ( _
	majorStation As BaseLabelSetItem, _
	minorStationLabelStyleName As String _
)
Visual C++
public:
void Add(
	BaseLabelSetItem^ majorStation, 
	String^ minorStationLabelStyleName
)

Parameters

majorStation
Type: Autodesk.Civil.DatabaseServices.Styles..::..BaseLabelSetItem
An label set itm withe a major station label style type.
minorStationLabelStyleName
Type: System..::..String
The name of the label style with a type of minor station.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The label style type of the label set item is not Autodesk.Civil.DatabaseServices.LabelType.AlignmentMajorStation, ProfileMajorStation, or SectionMajorOffset.
  2. The type of input label style is not Autodesk.Civil.DatabaseServices.LabelType.AlignmentMinorStation, ProfileMinorStation, or SectionMinorOffset.

See Also