Table of Contents

Method Append

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Append(string)

Adds the specified text to this dialog box.

public UIBuilder Append(string text)

Parameters

text string

Returns

UIBuilder

This UIBuilder instance.

Examples

UIBuilder uibDialogBox = new UIBuilder();
// ...
uibDialogBox.Append("Select a ticket:");

Append(string, params object[])

Adds the specified composite format string to this dialog box.

public UIBuilder Append(string text, params object[] args)

Parameters

text string

A composite format string that should be appended.

args object[]

An object array that contains zero or more objects to format in the appended text.

Returns

UIBuilder

This UIBuilder instance.

Examples

int selectedTicketId = 1;
UIBuilder uibDialogBox = new UIBuilder();
// ...
uibDialogBox.Append("The ID of the selected ticket is {0}", selectedTicketId);

Remarks

This is a convenience method that calls String.Format(System.String, System.Object[]).

Exceptions

ArgumentNullException

format or args is null.

FormatException

format is invalid.
-or-
The index of a format item is less than zero, or greater than or equal to the length of the args array.