Initializes a new instance of the Comment class with the specified comment text.

Namespace: SharpAssembler.Core.Instructions
Assembly: SharpAssembler Core (in SharpAssembler Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Comment(
	string text
)
Visual Basic
Public Sub New ( _
	text As String _
)
Visual C++
public:
Comment(
	String^ text
)

Parameters

text
Type: System..::..String
The text in the comment.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiontext == null

Contracts

See Also