ViewModelManager.RegisterDataSource(String, Object) Method

Adds a DataSource object to a View Model.

Namespace: DevExpress.ExpressApp.Mobile

Assembly: DevExpress.ExpressApp.Mobile.v18.2.dll


public DataSource RegisterDataSource(
    string id,
    object store
Public Function RegisterDataSource(
    id As String,
    store As Object
) As DataSource


Type Name Description
String id

A string that is a DataSource identifier.

Object store

An object that is a DevExtreme Store used to access data.


Type Description

A DataSource object that provides access to a data web service or local data storage.

See Also