BindingSource.IBindingList.AddIndex(PropertyDescriptor) Metoda
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Dodaje element PropertyDescriptor do indeksów używanych do wyszukiwania.
virtual void System.ComponentModel.IBindingList.AddIndex(System::ComponentModel::PropertyDescriptor ^ property) = System::ComponentModel::IBindingList::AddIndex;
void IBindingList.AddIndex(System.ComponentModel.PropertyDescriptor property);
abstract member System.ComponentModel.IBindingList.AddIndex : System.ComponentModel.PropertyDescriptor -> unit
override this.System.ComponentModel.IBindingList.AddIndex : System.ComponentModel.PropertyDescriptor -> unit
Sub AddIndex (property As PropertyDescriptor) Implements IBindingList.AddIndex
Parametry
- property
- PropertyDescriptor
Element do dodania PropertyDescriptor do indeksów używanych do wyszukiwania.
Implementuje
Wyjątki
Lista bazowa nie jest listą IBindingList.
Uwagi
Jeśli lista bazowa jest typem IBindingList , ta metoda doda element PropertyDescriptor do indeksów. W przeciwnym razie wywołanie tej metody spowoduje zgłoszenie NotSupportedExceptionelementu .