private static string GetNameValue(object value)
        {
            dynamic obj = value;
            try
            {
                return obj.Name;
            }
            catch
            {
                return null;
            }
        }

 

相关文章:

  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案