Skip to main content

DataSource(Object, String) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v23.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public DataSource(
    object data,
    string dataMember
)

Parameters

Name Type Description
data Object

An object that contains data for the data source.

dataMember String

A String that is a specific list in a data source.

Remarks

An object passed as the data parameter should implement the IEnumerable or IListSource interface.

See Also