Creates a new profile view band item with the given band type and name, adds it to the collection.

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

Syntax

C#
[ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.", 
	false)]
public void Add(
	BandType bandType,
	string profileBandStyleName
)
Visual Basic
<ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.",  _
	False)> _
Public Sub Add ( _
	bandType As BandType, _
	profileBandStyleName As String _
)
Visual C++
public:
[ObsoleteAttribute(L"Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.", 
	false)]
void Add(
	BandType bandType, 
	String^ profileBandStyleName
)

Parameters

bandType
Type: Autodesk.Civil..::..BandType
The profile band type, only ProfileData, HorizontalGeometry, VerticalGeometry, Superelevation, ProfileViewPipeNetwork and ProfileViewSectionalData are valid here.
profileBandStyleName
Type: System..::..String
The profile band name.

See Also