Skip to main content

DataSource(String, Object, String) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public DataSource(
    string name,
    object data,
    string dataMember
)

Parameters

Name Type Description
name String

A String that specifies the name of the data source.

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