Table of Contents

Method AppendLine

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

AppendLine()

Adds a new line to this dialog box.

public UIBuilder AppendLine()

Returns

UIBuilder

This UIBuilder instance.

Examples

UIBuilder uibDialogBox = new UIBuilder();
// ...
uibDialogBox.AppendLine();
// ...

AppendLine(string)

Adds the specified line of text to this dialog box.

public UIBuilder AppendLine(string text)

Parameters

text string

The line of text to add to this dialog box.

Returns

UIBuilder

This UIBuilder instance.

Examples

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

AppendLine(string, params object[])

Adds the specified composite format string to this dialog box.

public UIBuilder AppendLine(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.AppendLine("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.