Method AppendLine
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
AppendLine()
Adds a new line to this dialog box.
public UIBuilder AppendLine()
Returns
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
stringThe line of text to add to this dialog box.
Returns
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
stringA 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
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
orargs
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 theargs
array.