ArcGIS Pro二次开发判断要素是否为空 public static bool IsNullOrEmpty(this Geometry geometry) { if (geometry == null) return true; return geometry.IsEmpty; }