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(); }
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(); }