Initializes a new instance of the DeclareString class declaring the specified string with the specified encoding.

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

Syntax

C#
public DeclareString(
	string data,
	Encoding encoding
)
Visual Basic
Public Sub New ( _
	data As String, _
	encoding As Encoding _
)
Visual C++
public:
DeclareString(
	String^ data, 
	Encoding^ encoding
)

Parameters

data
Type: System..::..String
The data.
encoding
Type: System.Text..::..Encoding
The encoding of the string.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptiondata == null
System..::..ArgumentNullExceptionencoding == null

Contracts

See Also