Class NotificationFormattedText
A text item with formatting in a Notification.
Namespace: ABB.Robotics.RobotStudio .Environment
Assembly: ABB.Robotics.RobotStudio.Environment.dll
Syntax
public sealed class NotificationFormattedText : NotificationItem
Constructors
NotificationFormattedText(params NotificationTextRun[])
Constructor
Declaration
public NotificationFormattedText(params NotificationTextRun[] runs)
Parameters
Type | Name | Description |
---|---|---|
Notification |
runs | The runs of formatted text that comprise the item. |
Exceptions
Type | Condition |
---|---|
Argument |
Thrown if runs or any of its elements is null. |
Argument |
Thrown if runs is empty. |
Properties
Runs
Gets the runs of formatted text.
Declaration
public IReadOnlyList<NotificationTextRun> Runs { get; }
Property Value
Type | Description |
---|---|
IRead |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |