ListViewPagedDataSource.GetItemProperties(PropertyDescriptor[]) 方法

定义

返回一个 PropertyDescriptorCollection 对象,它表示用于绑定数据的属性。

public:
 virtual System::ComponentModel::PropertyDescriptorCollection ^ GetItemProperties(cli::array <System::ComponentModel::PropertyDescriptor ^> ^ listAccessors);
public System.ComponentModel.PropertyDescriptorCollection GetItemProperties (System.ComponentModel.PropertyDescriptor[] listAccessors);
abstract member GetItemProperties : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetItemProperties : System.ComponentModel.PropertyDescriptor[] -> System.ComponentModel.PropertyDescriptorCollection
Public Function GetItemProperties (listAccessors As PropertyDescriptor()) As PropertyDescriptorCollection

参数

listAccessors
PropertyDescriptor[]

要在组合中查找的可绑定的 PropertyDescriptor 对象的数组。 它可以是 null

返回

PropertyDescriptorCollection

表示用于绑定数据的属性的 PropertyDescriptorCollection对象。

实现

注解

使用 GetItemProperties 方法可获取一个 System.ComponentModel.PropertyDescriptorCollection 对象,该对象表示用于绑定数据的属性。 GetItemProperties方法调用 ITypedList.GetItemProperties 基础数据源对象的方法。 如果 DataSource 属性为 null 或未实现 System.ComponentModel.ITypedList 接口, null 则返回。

适用于

另请参阅