ScriptEngineFormatCode Property |
Enables or disables script code formatting.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntaxpublic bool FormatCode { get; set; }
Public Property FormatCode As Boolean
Get
Set
public:
property bool FormatCode {
bool get ();
void set (bool value);
}
member FormatCode : bool with get, set
Property Value
Type:
Boolean
Remarks
When this property is set to true, the script engine may format script code
before executing or compiling it. This is intended to facilitate interactive debugging.
The formatting operation currently includes stripping leading and trailing blank lines
and removing global indentation.
See Also