FilterableAttribute.IsTypeFilterable Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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