Skip to main content

RepositoryItemMRUEdit.SaveItemsToXml(String, Encoding) Method

Saves items stored in the RepositoryItemMRUEdit.Items collection to the specified XML file, using the specified encoding.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void SaveItemsToXml(
    string fileName,
    Encoding encoding
)

Parameters

Name Type Description
fileName String

A string that specifies the full path to the XML file to which data is saved.

encoding Encoding

An Encoding object that specifies the text encoding to use.

Remarks

To restore items later, use the RepositoryItemMRUEdit.LoadItemsFromXml method.

See Also