BindingSource.IBindingList.AddIndex(PropertyDescriptor) Método

Definición

Agrega a PropertyDescriptor los índices usados para la búsqueda.

 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

Parámetros

property
PropertyDescriptor

que PropertyDescriptor se va a agregar a los índices usados para la búsqueda.

Implementaciones

Excepciones

La lista subyacente no es .IBindingList

Comentarios

Si la lista subyacente es un IBindingList tipo, este método agregará a PropertyDescriptor los índices; de lo contrario, al llamar a este método se producirá una NotSupportedExceptionexcepción .

Se aplica a