TypeDescriptionProvider.IsRegisteredType(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定该类型是否已通过 RegisterType<T>()其提供程序注册。
public:
virtual bool IsRegisteredType(Type ^ type);
public virtual bool IsRegisteredType(Type type);
abstract member IsRegisteredType : Type -> bool
override this.IsRegisteredType : Type -> bool
Public Overridable Function IsRegisteredType (type As Type) As Boolean
参数
- type
- Type
要检查其是否已注册的类型。
返回
true 如果 type 已注册,则为 :否则为 false。
例外
type 是 null。