Click or drag to resize

Literal Constructor (String, Boolean)

Create a literal with the specified string representation.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public Literal(
	string value,
	bool isRaw = false
)

Parameters

value
Type: SystemString
isRaw (Optional)
Type: SystemBoolean
Remarks
The isRaw flag must be true for verbatim strings, chars using an escape sequence, integer values in hex format, or any other specific format, and the string must include all quotes and prefixes. If isRaw is false, then double quotes will be added around the string.
See Also