Sets the section StyleId.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public override ObjectId StyleId { set; }
Visual Basic
Public Overrides WriteOnly Property StyleId As ObjectId
	Set
Visual C++
public:
virtual property ObjectId StyleId {
	void set (ObjectId value) override;
}

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when the specified styleId is not a valid StyleId for current Section or from another database.
[!:System.InvalidOperationException] Thrown when setting StyleId if current Section doesn't support StyleId property.

See Also