Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RepositoryItemMRUEdit.SaveItemsToXml(String) Method

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

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public void SaveItemsToXml(
    string fileName
)

#Parameters

Name Type Description
fileName String

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

#Remarks

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

For information on the default encoding, see the Default topic in MSDN. To save items using a different encoding, use another SaveItemsToXml method overload that takes an encoding parameter.

See Also