Gets a XML that represents a single event and all of its properties.

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

Syntax

C#
public string GetEventXml(
	string eventId
)
Visual Basic (Declaration)
Public Function GetEventXml ( _
	eventId As String _
) As String
Visual C++
public:
virtual String^ GetEventXml(
	String^ eventId
) sealed

Parameters

eventId
Type: System..::.String
The event id.

Return Value

Event XML.

Implements

IScheduleEditor..::.GetEventXml(String)

Remarks

This is a basic sample of the xml.
CopyC#
<?xml version="1.0"?>
<XML xmlns="EventInfo__1.0">
<EventInfo>
<EventData uuid="1a78cf8ed0be43868812f077b965d281" childUuid=""
eventType="Play" channel="0" strUri="edl/cmf//local/C:/default/Clip"
trigger="Absolute" parentUuid="" eventStatus="Ready" error="100"
name="" userName="" trafficId="" startDate="2009-03-27T00:00:00"
startTime="09:20:10:00" duration="00:00:03:00" repeatMode="None"
purgeDate="2019-03-29T00:00:00" purgeTime="00:00:00:00" purgeCount="0"
completed="0"/><PlayEventData markIn="00:00:00:00" isMarkInAbs="FALSE"
altUri="" altMarkIn="00:00:00:00" isAltMarkInAbs="FALSE"/>
</EventInfo>
</XML>

Examples

CopyC#
//Call helper function CreateIScheduleEditor which creates editor object
IScheduleEditor schEditor = CreateIScheduleEditor();
string eventXML = "some xml"; //see sample xml for formats.
string eventID = schEditor.CreateEventFromXml(eventXML));
string eventXMLReturned = schEditor.GetEventXml(eventID);
Console.WriteLine(eventXMLReturned);

See Also