IBindingList.AddIndex(PropertyDescriptor) 方法

定义

PropertyDescriptor 添加到用于搜索的索引。Adds the PropertyDescriptor to the indexes used for searching.

public:
 void AddIndex(System::ComponentModel::PropertyDescriptor ^ property);
public void AddIndex (System.ComponentModel.PropertyDescriptor property);
abstract member AddIndex : System.ComponentModel.PropertyDescriptor -> unit
Public Sub AddIndex (property As PropertyDescriptor)

参数

property
PropertyDescriptor

PropertyDescriptor 添加到用于搜索的索引。The PropertyDescriptor to add to the indexes used for searching.

注解

此列表必须支持此方法。The list must support this method. 但是, 支持此方法可能是一个 nonoperation。However, support for this method can be a nonoperation.

适用于