IDataExportServiceExport Method (IMapper, MapperExportOptions, Int32, String) |
Performs the export. Note that the mapper is assumed to be filtered correctly.
Namespace:
NetQuarry.Services
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax string Export(
IMapper mapper,
MapperExportOptions options,
int maxRecords,
string filePath
)
Function Export (
mapper As IMapper,
options As MapperExportOptions,
maxRecords As Integer,
filePath As String
) As String
Parameters
- mapper
- Type: NetQuarry.DataIMapper
The filtered mapper - already Requeried. - options
- Type: NetQuarryMapperExportOptions
Options affecting how mapper data is exported. - maxRecords
- Type: SystemInt32
The maximum number of records to export, unlimited if zero or negative. - filePath
- Type: SystemString
If specified, the export will be written to this file instead of returned as a string.
Return Value
Type:
StringAn XML string that represents an Excel document, or an empty string.
See Also