Gets or sets the Entity object's style Id.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public override ObjectId StyleId { get; set; }
VB
Public Overrides Property StyleId As ObjectId Get Set
C++
public: virtual property ObjectId StyleId { ObjectId get () override; void set (ObjectId value) override; }
Property Value
ObjectIdExceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the entity does not have a style property. |
ArgumentException | Thrown when the style Id is invalid. |