ExtractDataSourceUIHelper.UpdateExtractFile(DashboardExtractDataSource, IWin32Window, UserLookAndFeel, String, String) Method
SECURITY-RELATED CONSIDERATIONS
Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.
Updates the extract data source file displaying the progress and allowing cancellation of the process.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v25.2.Win.dll
NuGet Package: DevExpress.Win.Dashboard
Declaration
public static bool UpdateExtractFile(
this DashboardExtractDataSource dataSource,
IWin32Window owner,
UserLookAndFeel lookAndFeel,
string fileName,
string driverName
)
Parameters
| Name | Type | Description |
|---|---|---|
| dataSource | DashboardExtractDataSource | The data source to update. |
| owner | IWin32Window | A IWin32Window object that is the parent window for the task dialog. |
| lookAndFeel | UserLookAndFeel | A UserLookAndFeel object whose properties specify the look and feel settings applied to the dialog. |
| fileName | String | A data source file path. Subsequently processed by the DataDirectoryPatchingService. |
| driverName | String | A string that specifies the driver name for the custom extract data source driver. Set it to null for the built-in extract data source implementation. |
Returns
| Type | Description |
|---|---|
| Boolean | True, if the data source is successfully modified; otherwise, false. |
Remarks
This method calls the UpdateExtractFile method and invokes a window that indicates task progress and allows task cancellation.