Skip to main content
A newer version of this page is available.

DataSourceInfo Class

Contains information about a document’s data source.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v18.1.Core.dll

Declaration

public class DataSourceInfo :
    IDataSourceOwner

Remarks

You can assign a DataSourceInfo to a SnapDocument in the following ways.

To check whether or not a data source is the default, use the DataSourceInfoCollection.IsDefaultDataSource method.

To update the DataSourceInfo collection, use the SnapDocument.BeginUpdateDataSource and SnapDocument.EndUpdateDataSource methods.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSourceInfo class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

Inheritance

Object
DataSourceInfo
See Also