Skip to main content

AppointmentXmlPersistenceHelper.ObjectFromXml(IAppointmentStorageBase, XmlNode) Method

Restores an appointment from an XML serialized string.

Namespace: DevExpress.XtraScheduler.Xml

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public static Appointment ObjectFromXml(
    IAppointmentStorageBase storage,
    XmlNode root
)

Parameters

Name Type Description
storage IAppointmentStorageBase

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

Type Description
Appointment

An Appointment object created from the string.

Remarks

Use the ObjectFromXml method to de-serialize an appointment serialized with the PersistentObject.ToXml method.

See Also