BandStyleGetBandStyleId Method |
Get the ObjectId of BandStyle with the specified bandType and bandStyleName from the specified database.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId GetBandStyleId(
Database database,
BandType bandType,
string bandStyleName
)
Public Shared Function GetBandStyleId (
database As Database,
bandType As BandType,
bandStyleName As String
) As ObjectId
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
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when bandStyleName is invalid.
|
See Also