Initializes a new instance of the Comment class with the specified comment text.
Namespace: SharpAssembler.Core.InstructionsAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | text == null |
Contracts
Requires | ||
---|---|---|
text != null
|