ArcGISCompare.frmMaster.ConvGeom C# (CSharp) Méthode

ConvGeom() private méthode

private ConvGeom ( esriGeometryType theG ) : String
theG esriGeometryType
Résultat String
        private String ConvGeom(esriGeometryType theG)
        {
            switch (theG)
            {
                case esriGeometryType.esriGeometryPoint:
                case esriGeometryType.esriGeometryMultipoint:
                    return "Point";
                    break;
                case esriGeometryType.esriGeometryLine:
                case esriGeometryType.esriGeometryPolyline:
                    return "Polyline";
                    break;
                case esriGeometryType.esriGeometryPolygon:
                    return "Polygon";
                    break;
                default:
                    return "Polygon";
                    break;
            }
        }