Messages

Defines the collection of Mechanical's messages.

Declaration Syntax

public class Messages : ICollection<Message>, IEnumerable<Message>, IEnumerable, IReadOnlyList<Message>, IReadOnlyCollection<Message>

Table 28: Members

Property

Count

Get the number of messages.

Method

Add(Message)

Add a new message.

Method

Clear()

Clear the list of the messages.

Method

Contains(Message)

Check if a message is in the current list of messages.

Method

Remove(Message)

Remove a specific message in the list.

Method

ShowErrors()

Shows errors with current project.