FilterableAttribute.IsTypeFilterable(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定指定的数据类型是否支持设备筛选。
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
参数中包含的数据类型支持设备筛选,则为 true
;否则为 false
。
例外
type
参数为 null
。
注解
IsTypeFilterable使用此方法确定指定类型是否支持设备筛选。 如果类型应用了属性 FilterableAttribute ,则类型支持设备筛选。