FilterableAttribute.IsPropertyFilterable(PropertyDescriptor) 方法

定義

判斷屬性是否支援裝置篩選。

public:
 static bool IsPropertyFilterable(System::ComponentModel::PropertyDescriptor ^ propertyDescriptor);
public static bool IsPropertyFilterable (System.ComponentModel.PropertyDescriptor propertyDescriptor);
static member IsPropertyFilterable : System.ComponentModel.PropertyDescriptor -> bool
Public Shared Function IsPropertyFilterable (propertyDescriptor As PropertyDescriptor) As Boolean

參數

propertyDescriptor
PropertyDescriptor

PropertyDescriptor,包含要測試之屬性的屬性。

傳回

如果屬性 (由 propertyDescriptor 參數中包含的 PropertyDescriptor 物件表示) 支援裝置篩選,則為 true,否則為 false

備註

IsPropertyFilterable使用 方法來判斷屬性是否支援裝置篩選。 若要使用此方法,您必須傳入 PropertyDescriptor 物件,其中包含要測試的屬性。

適用於

另請參閱