Example #1
0
        public void ExportAllInfo()
        {
            List <TestInfo> lstInfo = new List <TestInfo>();
            IFeatureClass   fClass  = null;

            ArcObjectExportTool objExport = new ArcObjectExportTool();

            objExport.SetExportInfo <TestInfo>()
            .SetExportAllInfo(true)
            .SetExportList(lstInfo)
            .SetExportFeatureClass(fClass)
            .Insert();
        }
Example #2
0
        public void ExportSpecifically()
        {
            List <TestInfo> lstInfo = new List <TestInfo>();
            IFeatureClass   fClass  = null;

            ArcObjectExportTool objExport = new ArcObjectExportTool();

            objExport.SetExportInfo <TestInfo>()
            .SetExportAllInfo(false)
            .SetExportList(lstInfo)
            .SetExportFeatureClass(fClass)
            .MappingField(x => x.Name, "BL_Name")
            .Insert();
        }