DataExportHelperGetExportMode Method (IMapper, IDataExportService, Boolean) |
Inspects the feature property ExcelExportMode to determine the behavior for executing excel exports.
Namespace:
NetQuarry.Data
Assembly:
EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static DataExportMode GetExportMode(
IMapper sender,
IDataExportService svc,
bool isLegacy = false
)
Public Shared Function GetExportMode (
sender As IMapper,
svc As IDataExportService,
Optional isLegacy As Boolean = false
) As DataExportMode
Parameters
- sender
- Type: NetQuarry.DataIMapper
The mapper being used in the export. - svc
- Type: NetQuarry.ServicesIDataExportService
The DataExportService being used to perform the export. - isLegacy (Optional)
- Type: SystemBoolean
If true, the function should treat the service as if it were the pre-service, excel export service.
Return Value
Type:
DataExportModeThe DataExportMode to use as specified by the application's features.
See Also