Moves an event to the specified location in the list. This call can be made only for follow events.
Namespace:
GrassValley.Mseries.ScheduleEditorAssembly: GrassValley.Mseries.ScheduleEditor (in GrassValley.Mseries.ScheduleEditor.dll) Version: 1.0.0.0
Syntax
C# |
---|
void MoveEvent( string eventId, int destLayer, string afterEventId ) |
Visual Basic (Declaration) |
---|
Sub MoveEvent ( _ eventId As String, _ destLayer As Integer, _ afterEventId As String _ ) |
Visual C++ |
---|
void MoveEvent( String^ eventId, int destLayer, String^ afterEventId ) |
Parameters
- eventId
- Type: System..::.String
The event id.
- destLayer
- Type: System..::.Int32
The dest layer.
- afterEventId
- Type: System..::.String
Insert event after this EventID.
Remarks
This function will generate a few change notices.
1. List change notice of type NoticeDeleteEvent to show removal of the old event.
2. List change notice of type NoticeInsertEvent to show addition of the new event in the new location.
It will also generate a notice for changes to every child event of this event with the type
NoticeUpdateEvent. This pertains to old and new follow events.