Skip to main content

AppointmentDataStorage.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 appointments from the storage to an XML file.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v26.1.dll

Declaration

public void SaveToXml(
    string fileName
)

Parameters

Name Type Description
fileName String

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

Remarks

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

See Also