corelibraries-devexpress-dot-xtrascheduler-dot-recurrenceinfo-dot-fromxml-x28-system-dot-string-x29.md
Reconstructs the recurrence information from an XML encoding.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
public void FromXml(
string val
)
Public Sub FromXml(
val As String
)
| Name | Type | Description |
|---|---|---|
| val | String |
A String value that specifies the XML encoding to use to reconstruct the recurrence information.
|
The FromXml method, as well as corresponding XmlPersistenceHelper methods are for internal use only. Use the mappings mechanism to save and restore persistent objects instead.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FromXml(String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-scheduler-highlight-time-intervals/CS/SchedulerCellTemplate/MainWindow.xaml.cs#L54
RecurrenceInfo info = new RecurrenceInfo();
info.FromXml(region.RecurrenceInfo);
info.Start = info.Start.Date.AddTicks(region.Start.TimeOfDay.Ticks);
wpf-scheduler-highlight-time-intervals/VB/SchedulerCellTemplate/MainWindow.xaml.vb#L70
Dim info As RecurrenceInfo = New RecurrenceInfo()
info.FromXml(region.RecurrenceInfo)
info.Start = info.Start.Date.AddTicks(region.Start.TimeOfDay.Ticks)
See Also