DeleteSegment method: Message class
Syntax
DeleteSegment(SegmentNumber)
Description
Use the DeleteSegment method to delete the specified segment. This method is used only when creating a message for publication, not after a message has been published.
Note:
You should use DeleteSegment and UpdateSegment only when writing to memory, or when SegmentsByDatabase is set to False. These methods do not work when writing to the database, or when SegmentsByDatabase is set to True.
Parameters
| Parameter | Description |
|---|---|
|
SegmentNumber |
Specify a number indicating which segment you want to delete from the unpublished message. |
Returns
None.