Skip to main content

ResourceDataStorage.SaveToXml(String) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Saves resources from the resource storage to an XML file.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v25.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public void SaveToXml(
    string fileName
)

Parameters

Name Type Description
fileName String

A String value specifying the path to the file where resources should be written. If an empty string is specified, an exception is raised.

Remarks

The saved objects can be then restored using the ResourceDataStorage.LoadFromXml method.

See Also