FilterableAttribute.IsTypeFilterable(Type) 方法

定义

确定指定的数据类型是否支持设备筛选。

public:
 static bool IsTypeFilterable(Type ^ type);
public static bool IsTypeFilterable (Type type);
static member IsTypeFilterable : Type -> bool
Public Shared Function IsTypeFilterable (type As Type) As Boolean

参数

type
Type

Type,表示要检查的数据类型。

返回

Boolean

如果 type 参数中包含的数据类型支持设备筛选,则为 true;否则为 false

例外

type 参数为 null

注解

IsTypeFilterable使用此方法确定指定类型是否支持设备筛选。 如果类型应用了属性 FilterableAttribute ,则类型支持设备筛选。

适用于

另请参阅