Gets or sets a Comment which is associated with this Constructable.
Namespace: SharpAssembler.CoreAssembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public Comment Comment { get; set; } |
Visual Basic |
---|
Public Property Comment As Comment Get Set |
Visual C++ |
---|
public: property Comment^ Comment { Comment^ get (); void set (Comment^ value); } |
Field Value
A Comment; or nullNothingnullptra null reference (Nothing in Visual Basic) when no comment is associated.
Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | value != null && (this is Comment) |
Contracts
Set
Requires | ||||
---|---|---|---|---|
value == null || !(this is Comment)
|