Table of Contents

Method GetString

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

GetString(string)

Gets the string value from the specified destination variable that is linked to a dialog box item (typically a text box).

public string GetString(string key)

Parameters

key string

The name of the destination variable.

Returns

string

The string value from the specified destination variable that is linked to a dialog box item.

Examples

UIResults uir = null;
...
UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.TextBox;
blockItem.DestVar = "myText";
...
uibDialogBox1.AppendBlock(blockItem);
...
uir = engine.ShowUI(uibDialogBox1);
string enteredText = uir.GetString("myText");