Skip to main content

TreeList.ImportFromXml(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.

Imports the data to the Tree List from the XML file.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v25.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public virtual void ImportFromXml(
    string xmlFile
)

Parameters

Name Type Description
xmlFile String

A String value that specifies the full path (including the file name and extension) to the file in XML format which data will be imported to the Tree List.

Remarks

The data can only be imported to the Tree List in unbound mode. In bound mode, this method does nothing.

See Also