public void CaseExportAllInfo() { IFeatureClass fClass = null; ArcObjectExportTool <object> arcObjectExportTool = new ArcObjectExportTool <object>(); arcObjectExportTool.SetCallBack = CallBack; arcObjectExportTool.ExportInfo(new List <object>()) .ExportTo(fClass) .SaveEveryNRecord(100) .Insert(); }
public void CaseExportFeatureClass() { IFeatureClass srcFeatureClass = null; IFeatureClass desFeatureClass = null; ArcObjectExportTool <IFeatureClass> arcObjectExportTool = new ArcObjectExportTool <IFeatureClass>(); arcObjectExportTool.SetCallBack = CallBack; arcObjectExportTool.ExportInfo(srcFeatureClass) .ExportTo(desFeatureClass) .SaveEveryNRecord(100) .Insert(); }
public void CaseExportSpecifiedInfo() { IFeatureClass fClass = null; ArcObjectExportTool <info> arcObjectExportTool = new ArcObjectExportTool <info>(); arcObjectExportTool.SetCallBack = CallBack; arcObjectExportTool.ExportInfo(new List <info>()) .ExportTo(fClass) .SaveEveryNRecord(100) .MappingField(x => x.Ref_OID, "Ref_OID") .Insert(); }