ErrorMarker
Represents a simple message line. Unlike AppOutputLine objects, error markers do not have a hierarchical structure.
Properties to navigate the object model:
•Application
•Parent
Access to message information:
•DocumentFileName
•ErrorLevel
•Highlight
•Serialization
•Text
Properties
Name | Description |
---|---|
Read-only. Retrieves the application's top-level object. | |
Read-only. Retrieves the name of the mapping file that the error marker is associated with. | |
Read-only. Retrieves the severity of the error. | |
Read-only. The parent object according to the object model. | |
Read-only. Serialize error marker into a string. Use this string in calls to Application.HighlightSerializedMarker or Document.HighlightSerializedMarker to highlight the marked item in the mapping. The string can be persisted and used in other instantiations of MapForce or its Control. | |
Read-only. Retrieves the message text. |
Methods
Name | Description |
---|---|
Highlights the item that the error marker is associated with. If the corresponding document is not open, it will be opened. |