FilterableAttribute.IsPropertyFilterable(PropertyDescriptor) Metódus

Definíció

Meghatározza, hogy egy tulajdonság támogatja-e az eszközszűrést.

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

Paraméterek

propertyDescriptor
PropertyDescriptor

A PropertyDescriptor tesztelni kívánt tulajdonság tulajdonságait tartalmazó tulajdonság.

Válaszok

trueha a paraméterben található objektum által PropertyDescriptor képviselt tulajdonság támogatja az propertyDescriptor eszközszűrést; ellenkező esetben. false

Megjegyzések

Ezzel a IsPropertyFilterable módszerrel megállapíthatja, hogy egy tulajdonság támogatja-e az eszközszűrést. A metódus használatához olyan PropertyDescriptor objektumot kell megadnia, amely tartalmazza a tesztelni kívánt tulajdonság tulajdonságait.

A következőre érvényes:

Lásd még