private string GetGeometryTypeAsString(object value) { string retVal = ""; IGeometry geometry = value as IGeometry; if (geometry != null) { retVal = geometry.GeometryType.ToString(); } return retVal; } #endregion Private Methods