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
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
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.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
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.