ExcelDataSourceUIHelper.UpdateSchema(ExcelDataSource, IWin32Window, UserLookAndFeel, IExcelSchemaProvider) Method
OBSOLETE
This overload is obsolete. Use UpdateSchema instead.
Updates the data source schema available on the client in accordance with the current data source structure.
Namespace: DevExpress.DataAccess.UI.Excel
Assembly: DevExpress.DataAccess.v24.2.UI.dll
Declaration
[Obsolete("This overload is obsolete. Use UpdateSchema(this ExcelDataSource dataSource, UpdateSchemaContext context) instead.")]
public static bool UpdateSchema(
this ExcelDataSource dataSource,
IWin32Window owner,
UserLookAndFeel lookAndFeel,
IExcelSchemaProvider schemaProvider
)
Parameters
Name | Type | Description |
---|---|---|
dataSource | ExcelDataSource | An ExcelDataSource object. |
owner | IWin32Window | An object implementing the IWin32Window interface that is the owner of the current dialog window. |
lookAndFeel | UserLookAndFeel | A UserLookAndFeel object, specifying the application’s look and feel settings. |
schemaProvider | IExcelSchemaProvider | An object implementing the IExcelSchemaProvider interface. |
Returns
Type | Description |
---|---|
Boolean | true, if the data source schema has been rebuilt; otherwise, false. |
Remarks
The following image illustrates the commands available in the ExcelDataSource smart tag. The UpdateSchema method corresponds to the Rebuild Result Schema command.