Table of Contents

Method WasBack

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

WasBack()

Returns a value indicating whether the user clicked the Back button.

public bool WasBack()

Returns

bool

true if the user clicked the Back button; otherwise, false.

Examples

UIBuilder uib = new UIBuilder();
...	
UIResults uir = engine.ShowUI(uib);

if (uir.WasBack())
{
	...
}

Remarks

Only applicable for scripts that support this feature.

note

To enable the Back and Forward buttons, from the General Page in the Automation App, expand Show Details and check the "Supports back/forward buttons in interactive mode" checkbox.