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(NotificationTextRun[])
Constructor
Declaration
public NotificationFormattedText(params NotificationTextRun[] runs)
Parameters
Type | Name | Description |
---|---|---|
NotificationTextRun[] | runs | The runs of formatted text that comprise the item. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown if runs or any of its elements is null. |
ArgumentException | Thrown if runs is empty. |
Properties
Runs
Gets the runs of formatted text.
Declaration
public IReadOnlyList<NotificationTextRun> Runs { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<NotificationTextRun> |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |