AppointmentResourceIdCollectionXmlPersistenceHelper.ObjectFromXml(ResourceIdCollection, String) Method
Loads the resource ID collection from an XML string.
Namespace: DevExpress.XtraScheduler.Xml
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public static ResourceIdCollection ObjectFromXml(
ResourceIdCollection resourceIds,
string xml
)
#Parameters
Name | Type | Description |
---|---|---|
resource |
Resource |
A Resource |
xml | String | A string containing resource id information in XML format. |
#Returns
Type | Description |
---|---|
Resource |
A Resource |
#Remarks
Use the ObjectFromXml method to obtain the ResourceIdCollection object and subsequently assign its items to the appointments’ Appointment.ResourceId properties.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ObjectFromXml(ResourceIdCollection, 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.