Table of Contents

Property DestVar

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

DestVar

Gets or sets the alias that will be used to retrieve the value entered or selected by the user from the UIResults object.

public string DestVar { get; set; }

Property Value

string

The alias that will be used to retrieve the value entered or selected by the user from the UIResults object.

Examples

UIResults uir = null;
string enteredText = "";

UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.TextBox;

blockItem.DestVar = "myText";

uibDialogBox1.AppendBlock(blockItem);

uir = engine.ShowUI(uibDialogBox1);
enteredText = uir.GetString("myText");

Remarks

Applicable only when Type is set to either Button, Calendar, CheckBox, CheckBoxList, DropDown, TextBox, Time or TreeView.

Note: Unlike a variable, a DestVar alias does not have to be declared.