TypeDescriptionProvider.IsSupportedType(Type) 方法

定义

获取一个值,该值指示指定的类型是否与类型说明及其类型说明提供程序链兼容。Gets a value that indicates whether the specified type is compatible with the type description and its chain of type description providers.

public:
 virtual bool IsSupportedType(Type ^ type);
public virtual bool IsSupportedType (Type type);
abstract member IsSupportedType : Type -> bool
override this.IsSupportedType : Type -> bool
Public Overridable Function IsSupportedType (type As Type) As Boolean

参数

type
Type

要测试兼容性的类型。The type to test for compatibility.

返回

Boolean

如果 type 与类型说明及其类型说明提供程序链兼容,则为 true;否则为 falsetrue if type is compatible with the type description and its chain of type description providers; otherwise, false.

例外

typenulltype is null.

适用于