.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

ViewModelManager.RegisterDataSource(String, Object) Method

Adds a DataSource object to a View Model.

Namespace: DevExpress.ExpressApp.Mobile

Assembly: DevExpress.ExpressApp.Mobile.v20.1.dll

Declaration

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

Parameters

Name Type Description
id String

A string that is a DataSource identifier.

store Object

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

Returns

Type Description
DevExpress.ExpressApp.Mobile.MobileModel.DataSource

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

See Also