ArcDataBinding.FieldPropertyDescriptor.GetGeometryTypeAsString C# (CSharp) Method

GetGeometryTypeAsString() private method

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