Get the ObjectId of BandStyle with the specified bandType and bandStyleName from the specified database.
public 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 )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when bandStyleName is invalid. |