DataSource(String, Object) Constructor

Initializes a new instance of the DataSource class.

Namespace: DevExpress.DashboardCommon

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


public DataSource(
    string name,
    object data
Public Sub New(
    name As String,
    data As Object


Type Name Description
String name

A String that specifies the name of the data source.

Object data

An object that contains data for the data source.

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

See Also