FilterableAttribute.IsPropertyFilterable(PropertyDescriptor) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menentukan apakah properti mendukung pemfilteran perangkat.
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
Parameter
- propertyDescriptor
- PropertyDescriptor
yang PropertyDescriptor berisi properti properti untuk diuji.
Mengembalikan
true jika properti yang diwakili oleh PropertyDescriptor objek yang terkandung dalam propertyDescriptor parameter mendukung pemfilteran perangkat; jika tidak, false.
Keterangan
IsPropertyFilterable Gunakan metode untuk menentukan apakah properti mendukung pemfilteran perangkat. Untuk menggunakan metode ini, Anda harus meneruskan PropertyDescriptor objek yang berisi properti properti untuk diuji.