ArcGISCompare.frmMaster.ConvGeom C# (CSharp) Method

ConvGeom() private method

private ConvGeom ( esriGeometryType theG ) : String
theG esriGeometryType
return 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;
            }
        }