ScriptEngineFormatCode Property |
Enables or disables script code formatting.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public bool FormatCode { get; set; }
Public Property FormatCode As Boolean
Get
Set
public:
virtual property bool FormatCode {
bool get () sealed;
void set (bool value) sealed;
}
abstract FormatCode : bool with get, set
override FormatCode : bool with get, set
Property Value
BooleanImplements
IScriptEngineFormatCodeRemarks
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