TypeDescriptionProvider.IsRegisteredType(Type) 方法

定义

确定该类型是否已通过 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

例外

typenull

适用于