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
Declaration
public static ResourceIdCollection ObjectFromXml(
ResourceIdCollection resourceIds,
string xml
)
Parameters
Name | Type | Description |
---|---|---|
resourceIds | ResourceIdCollection | A ResourceIdCollection object that provides the resource identifiers. |
xml | String | A string containing resource id information in XML format. |
Returns
Type | Description |
---|---|
ResourceIdCollection | A ResourceIdCollection object that is the collection of resource ID’s. |
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.