Get the ObjectId of BandStyle with the specified bandType and bandStyleName from the specified database.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId GetBandStyleId( Database database, BandType bandType, string bandStyleName )
VB
Public Shared Function GetBandStyleId ( database As Database, bandType As BandType, bandStyleName As String ) As ObjectId
C++
public: static ObjectId GetBandStyleId( Database^ database, BandType bandType, String^ bandStyleName )
Parameters
- database Database
- The database where to get the band styleId.
- bandType BandType
- The band type.
- bandStyleName String
- The name of band style.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when bandStyleName is invalid. |