IWizardCustomizationService.TryCreateDataSource(IDataSourceModel, out Object, out String) Method

Creates a new report data source with the specified settings.

Namespace: DevExpress.XtraReports.Wizards

Assembly: DevExpress.XtraReports.v18.2.Extensions.dll


bool TryCreateDataSource(
    IDataSourceModel model,
    out object dataSource,
    out string dataMember
Function TryCreateDataSource(
    model As IDataSourceModel,
    ByRef dataSource As Object,
    ByRef dataMember As String
) As Boolean


Type Name Description
IDataSourceModel model

An object implementing the IDataSourceModel interface.

Object dataSource

A Object value, specifying the data source.

String dataMember

A String value, specifying the data member.


Type Description

true, if the data source has been created; otherwise, false.

See Also