Table of Contents

Method AddCheckBoxListOption

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

AddCheckBoxListOption(string)

Adds an entry to a checkbox list.

public void AddCheckBoxListOption(string option)

Parameters

option string

Remarks

Only intended to be used when Type is set to UIBlockType.CheckBoxList.

Available from DataMiner 9.6.6 onwards.

AddCheckBoxListOption(string, string)

Adds an entry to a checkbox list.

public void AddCheckBoxListOption(string rawValue, string displayValue)

Parameters

rawValue string

The raw value.

displayValue string

The display value.

Examples

UIBlockDefinition blockItem = new UIBlockDefinition();

blockItem.Type = UIBlockType.CheckBoxList;

blockItem.AddCheckBoxListOption("1","First option");
blockItem.AddCheckBoxListOption("2","Second option");

uibDialogBox1.AppendBlock(blockItem);

Remarks

Only intended to be used when Type is set to UIBlockType.CheckBoxList.

Available from DataMiner 9.6.6 onwards.