Creates a new section view band set item with the given band type and name, adds it to the collection, and returns a pointer to the new instance.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
[ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandStyle.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.",
false)]
public void Add(
Database database,
BandType bandType,
string sectionBandStyleName
) |
Visual Basic |
---|
<ObsoleteAttribute("Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandStyle.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.", _
False)> _
Public Sub Add ( _
database As Database, _
bandType As BandType, _
sectionBandStyleName As String _
) |
Visual C++ |
---|
public:
[ObsoleteAttribute(L"Use the combination of Autodesk.Civil.DatabaseServices.Styles.BandStyle.GetBandStyleId and Autodesk.Civil.DatabaseServices.Styles.BandSetItemCollection.Add instead.",
false)]
void Add(
Database^ database,
BandType bandType,
String^ sectionBandStyleName
) |
Parameters
- database
- Type: Database
The drawing database.
- bandType
- Type: Autodesk.Civil..::..BandType
The section band type, only ProfileData, HorizontalGeometry, VerticalGeometry, Superelevation, ProfileViewPipeNetwork and ProfileViewSectionalData are valid here.
- sectionBandStyleName
- Type: System..::..String
The section band name.
See Also