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

ObjectDataSourceValidationService.Validate(IEnumerable<ObjectDataSource>) Method

Provides default validation of the specified ObjectDataSource data objects before data retrieval.

Namespace: DevExpress.XtraSpreadsheet.Services

Assembly: DevExpress.XtraSpreadsheet.v19.1.dll

Declaration

public void Validate(
    IEnumerable<ObjectDataSource> dataSources
)

Parameters

Name Type Description
dataSources IEnumerable<ObjectDataSource>

A IEnumerable<T><ObjectDataSource,> collection of ObjectDataSource instances to validate.

Remarks

When the user denies the data source loading, the ObjectDataSource.DataSource and ObjectDataSource.DataMember properties are set to null.

See Also