Reflection: How to get the underlying type of a by-ref type

后端 未结 1 1606
庸人自扰
庸人自扰 2021-01-12 02:25

I was surprised to learn that \"ref\" and \"out\" parameters are not marked by a special attribute, despite the existence of ParameterInfo.IsOut, ParameterInfo.IsIn (both of

相关标签:
1条回答
  • 2021-01-12 03:05

    Call GetElementType().

    0 讨论(0)
提交回复
热议问题