BindingSource.IBindingList.AddIndex(PropertyDescriptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the PropertyDescriptor to the indexes used for searching.
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
Parameters
- property
- PropertyDescriptor
The PropertyDescriptor to add to the indexes used for searching.
Implements
Exceptions
The underlying list is not an IBindingList.
Remarks
If the underlying list is an IBindingList type, this method will add the PropertyDescriptor to the indexes; otherwise, calling this method will throw a NotSupportedException.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.