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

要加入至用來搜尋之索引的 PropertyDescriptorThe 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.

適用於