Gets or sets a Comment which is associated with this Constructable.

Namespace: SharpAssembler.Core
Assembly: 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

ExceptionCondition
System..::..NotSupportedExceptionvalue != null && (this is Comment)

Contracts

Set

Requires
value == null || !(this is Comment)
Description: You cannot assign a comment to a comment.
Exception: System..::..NotSupportedException

See Also