foreach (PropertyInfo info in saddle.GetType().GetProperties())
      {
        try
        {
          string objString = info.Name;
          object objValue = saddle.GetType().GetProperty(objString).GetValue(saddle, null);
          this.GetType().GetProperty(objString).SetValue(this, objValue, null);
        }
        catch
        {
        }
      }

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案