FilterableAttribute.IsTypeFilterable Method (Type)
.NET Framework (current version)
Determines whether the specified data type supports device filtering.
Assembly: System.Web (in System.Web.dll)
Parameters
- type
-
Type:
System.Type
A Type that represents the data type to test.
Return Value
Type: System.Booleantrue if the data type contained in the type parameter supports device filtering; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | The type parameter is null. |
Use the IsTypeFilterable method to determine whether the specified type supports device filtering. A type supports device filtering if it has a FilterableAttribute attribute applied to it.
.NET Framework
Available since 2.0
Available since 2.0
Show: