Gets or sets the Entity object's style Id.
public override sealed ObjectId StyleId { get; set; }
Public Overrides NotOverridable Property StyleId As ObjectId Get Set
public:
virtual property ObjectId StyleId {
ObjectId get () override sealed;
void set (ObjectId value) override sealed;
}| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when the entity does not have a style property. |
| ArgumentException | Thrown when the style Id is invalid. |