RecurrenceWrite Xml Method
This is called to serialize the instance to XML
Definition
Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
C#
public void WriteXml(
XmlWriter? writer
)VB
Public Sub WriteXml (
writer As XmlWriter
)C++
public:
virtual void WriteXml(
XmlWriter^ writer
) sealedF#
abstract WriteXml :
writer : XmlWriter -> unit
override WriteXml :
writer : XmlWriter -> unit Parameters
- writer XmlWriter
- The XML writer to which the instance is serialized
Implements
IXmlSerializableWriteXml(XmlWriter)Remarks
The recurrence object already has an extremely efficient serialized format, the iCalendar
RRULE. As such, when serializing we'll use that compact form rather than a more verbose form with
the various properties all spelled out with separate entities.