开发者

Can I with a MemberInfo check if the member is a delegate?

Is it possible with a MemberInfo to check if member is a delegate? How I can know if the Member开发者_开发百科Info is a type that extends MulticastDelegate?


MemberInfo does not expose this information. You would have to figure out which of the super types it is, like FieldInfo and check a property like FieldType or PropertyType on PropertyInfo.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜