FilterableAttribute.IsPropertyFilterable Method (PropertyDescriptor)

 

Determines whether a property supports device filtering.

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

public static bool IsPropertyFilterable(
	PropertyDescriptor propertyDescriptor
)

Parameters

propertyDescriptor
Type: System.ComponentModel.PropertyDescriptor

A PropertyDescriptor that contains the properties of the property to test.

Return Value

Type: System.Boolean

true if the property represented by the PropertyDescriptor object contained in the propertyDescriptor parameter supports device filtering; otherwise, false.

Use the IsPropertyFilterable method to determine whether a property supports device filtering. To use this method, you must pass in a PropertyDescriptor object that contains the properties of the property to test.

.NET Framework
Available since 2.0
Return to top
Show: