Open this page in the API Guide

IMapService.SerializeEsriMap Method (Stream, Stream, Stream, Stream, Stream, String, Stream, ICollection<String>)

Serializes ESRI map files.

Namespace:  Dundas.BI.Utility.Map
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void SerializeEsriMap(
	Stream shapeFileStream,
	Stream shxFileStream,
	Stream dbfFileStream,
	Stream cpgFileStream,
	Stream prjFileStream,
	string mapName,
	Stream outputStream,
	out ICollection<string> tags
)

Parameters

shapeFileStream
Type: System.IO.Stream
The stream used to read the SHP file.
shxFileStream
Type: System.IO.Stream
The stream used to read the SHX file.
dbfFileStream
Type: System.IO.Stream
The stream used to read the DBF file.
cpgFileStream
Type: System.IO.Stream
The stream used to read the CPG file, optional.
prjFileStream
Type: System.IO.Stream
The stream used to read the PRJ file, optional.
mapName
Type: System.String
The name of the map that is being imported.
outputStream
Type: System.IO.Stream
The stream to which the map is to be serialized.
tags
Type: System.Collections.Generic.ICollection<String>
Tags that resulted from processing the DBF file.
Exceptions
ExceptionCondition
ArgumentNullExceptionshapeFileStream and/or shxFileStream and/or dbfFileStream and/or mapName and/or outputStream are null.
EsriImportExceptionWhen there is an issue importing.
See Also