什么是“FieldType.IsEnum”的等价物。在地铁? [英] What is the equivalent of "FieldType.IsEnum" in Metro?

查看:86
本文介绍了什么是“FieldType.IsEnum”的等价物。在地铁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

或者,找出FieldType / PropertyType是枚举的最佳方法是什么?


Chris Muench,MVP

Or what is the best way to find out if a FieldType/PropertyType is an enum?


Chris Muench, MVP

推荐答案

假设您有会员? -

Assuming you have a Member? --

if (yourMember is FieldInfo)





这篇关于什么是“FieldType.IsEnum”的等价物。在地铁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆