ILanerContext.Unregister

Syntax

Unregister(Laner: ILaner): Boolean;

Parameters

Laner. Workbook of the time series database in series mode.

Description

The Unregister method disconnects a workbook from the context. The method returns True if the disconnection is successful, and False if the workbook was not registered in the context.

Example

Executing the example requires a form with the Button1 button, the TabSheetBox component and the UiErAnalyzer component named UiErAnalyzer1 that is a data source for TabSheetBox. Working area of the time series database must be loaded to UiErAnalyzer1.

Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

pContext: ILanerContext;

Laner: ILaner;

Begin

pContext := New LanerContext.Create;

Laner := UiErAnalyzer1.ErAnalyzer.Laner;

pContext.Unregister(Laner);

End Sub Button1OnClick;

After executing the example the working area of the time series database is disconnected from context of the time series database.

See also:

ILanerContext