FilterableAttribute.IsTypeFilterable Method (Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether the specified data type supports device filtering.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public static bool IsTypeFilterable(
	Type type


Type: System.Type

A Type that represents the data type to test.

Return Value

Type: System.Boolean

true if the data type contained in the type parameter supports device filtering; otherwise, false.

Exception Condition

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
Return to top