GeoCylinder geoCylinder = new GeoCylinder();
geoCylinder.BottomRadius = 100;
geoCylinder.TopRadius = 100;
geoCylinder.Height = 200;
geoCylinder.Position = new Point3D(120.204501532168, 29.317661875028, 100);
recordset.Edit();
recordset.AddNew(geoCylinder as Geometry3D, result);
feature.Dispose();
recordset.Update();
recordset.Close();
recordset.Dispose();
使用范例程序CBD没问题,换成自己导出的udbx就会在addnew方法处报System.AccessViolationException:“尝试读取或写入受保护的内存。这通常指示其他内存已损坏。”