Skip to main content

TreeListExtension.WriteXls(TreeListSettings, Object, Stream) Method

Exports the TreeList’s data to a stream in XLS with the specified export settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static void WriteXls(
    TreeListSettings settings,
    object dataObject,
    Stream stream
)

Parameters

Name Type Description
settings TreeListSettings

A TreeListSettings object that contains Tree List settings.

dataObject Object

An object representing the TreeList’s data source.

stream Stream

A Stream object to which the data is exported.

See Also