Export (0) Print
Expand All

FilterableAttribute.IsPropertyFilterable Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft