[英]Is it possible to obtain a type's summary using reflection?
您知道如何转到对象浏览器并选择一种类型时,其名称下方有一个摘要吗?
例如:
public sealed class Activator
Member of System
Summary:
Contains methods to create types of objects locally or remotely, or obtain references to existing remote objects. This class cannot be inherited.
是否可以使用反射获得该信息? 如果是这样,怎么做? 如果不可能,那么该数据存储在哪里?
can't be discovered by reflection
注释的原因是因为它们not included in the .NET assemblies
(.EXE或.DLL文件)中,而是通常included as .XML files to accompany the assembly files
。
DocsByReflection
可用于获取摘要。 有关详细信息,请参见此处的链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.