Back to Devexpress

AppointmentXmlPersistenceHelper.ObjectFromXml(IAppointmentStorageBase, XmlNode) Method

corelibraries-devexpress-dot-xtrascheduler-dot-xml-dot-appointmentxmlpersistencehelper-dot-objectfromxml-x28-devexpress-dot-xtrascheduler-dot-iappointmentstoragebase-system-dot-xml-dot-xmlnode-x29.md

latest2.3 KB
Original Source

AppointmentXmlPersistenceHelper.ObjectFromXml(IAppointmentStorageBase, XmlNode) Method

Restores an appointment from an XML serialized string.

Namespace : DevExpress.XtraScheduler.Xml

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
public static Appointment ObjectFromXml(
    IAppointmentStorageBase storage,
    XmlNode root
)
vb
Public Shared Function ObjectFromXml(
    storage As IAppointmentStorageBase,
    root As XmlNode
) As Appointment

Parameters

NameTypeDescription
storageIAppointmentStorageBase

An ISchedulerStorageBase object that provides an appointment factory, custom field mappings and time zone translation.

| | root | XmlNode |

A XmlNode object that is the root node in XML document containing the serialized appointment.

|

Returns

TypeDescription
Appointment

An Appointment object created from the string.

|

Remarks

Use the ObjectFromXml method to de-serialize an appointment serialized with the XtraScheduler.Xml.XmlPersistenceHelper.ToXml method.

See Also

AppointmentXmlPersistenceHelper Class

AppointmentXmlPersistenceHelper Members

DevExpress.XtraScheduler.Xml Namespace