Skip to main content
A newer version of this page is available. .

AppointmentResourceIdCollectionXmlPersistenceHelper.ObjectFromXml(ResourceIdCollection, String) Method

Loads the resource ID collection from an XML string.

Namespace: DevExpress.XtraScheduler.Xml

Assembly: DevExpress.XtraScheduler.v19.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.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also