Set an absolute or approximate start time for the specified event. Note that this function will change the event trigger type (absolute or approximate), if bAbsolute does not match the current event trigger type. Follow trigger type is not supported with this command because Follow events don't have a start timecode.

Namespace:  GrassValley.Mseries.ScheduleEditor
Assembly:  GrassValley.Mseries.ScheduleEditor (in GrassValley.Mseries.ScheduleEditor.dll) Version: 1.0.0.0

Syntax

C#
public void SetEventStartTimecode(
	string eventId,
	bool absolute,
	Object date,
	Object timecode
)
Visual Basic (Declaration)
Public Sub SetEventStartTimecode ( _
	eventId As String, _
	absolute As Boolean, _
	date As Object, _
	timecode As Object _
)
Visual C++
public:
virtual void SetEventStartTimecode(
	String^ eventId, 
	bool absolute, 
	Object^ date, 
	Object^ timecode
) sealed

Parameters

eventId
Type: System..::.String
The event id to be modified.
absolute
Type: System..::.Boolean
if set to true [absolute], otherwise false [approximate].
date
Type: System..::.Object
The start date. The format is in OleDateTime.
timecode
Type: System..::.Object
The start timecode. In UINT or string format ("hh:mm:ss:ff" format with length 11 only).

Implements

IScheduleEditor..::.SetEventStartTimecode(String, Boolean, Object, Object)

Remarks

Change notices of type NoticeUpdateEvent will be generated for the eventID provided and all that event's child events.

Examples

CopyC#
//Call helper function CreateIScheduleEditor which creates editor object
IScheduleEditor schEditor = CreateIScheduleEditor();
string eventID = "some previously inserted event ID";
bool bAbsolute = true;
DateTime date = DateTime.Now;
schEditor.SetEventStartTimecode(eventID, bAbsolute, date, date.AddSeconds(25).ToString("HH:mm:ss:00", CultureInfo.InvariantCulture));

See Also