ViewComponentConventions.IsComponent(TypeInfo) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
              true如果类型是一个公共、非抽象、非泛型类,该类定义 ViewComponentAttribute,但不是 NonViewComponentAttribute 和 的名称以 ViewComponent 结尾,则返回 。
public:
 static bool IsComponent(System::Reflection::TypeInfo ^ typeInfo);public static bool IsComponent(System.Reflection.TypeInfo typeInfo);static member IsComponent : System.Reflection.TypeInfo -> boolPublic Shared Function IsComponent (typeInfo As TypeInfo) As Boolean参数
返回
如果类型是组件。