Click or drag to resize

IColumnScriptTextExecuteWithSuspendedNotifications Method

Executes the script. If no instance of the script object exists, a error message will be stored and the return value is false. If the script object exists, the data change notifications will be switched of (for all tables). Then the Execute function of this script object is called. Afterwards, the data changed notifications are switched on again.

Namespace: Altaxo.Scripting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
bool ExecuteWithSuspendedNotifications(
	DataColumn myColumn,
	IProgressReporter reporter
)

Parameters

myColumn  DataColumn
The property column this script is working on.
reporter  IProgressReporter
Progress reporter that can be used by the script to report the progress of its work.

Return Value

Boolean
True if executed without exceptions, otherwise false.
Remarks
If exceptions were thrown during execution, the exception messages are stored inside the column script and can be recalled by the Errors property.
See Also