PagedDataSource.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

實作

備註

GetItemProperties使用 方法來建立 , System.ComponentModel.PropertyDescriptorCollection 代表用來系結資料之每個專案的屬性。 DataSource如果 屬性為 null 或 不是實作 System.ComponentModel.ITypedList 的物件, null 則會傳回 。 如需 方法的詳細資訊 GetItemProperties ,請參閱 ITypedList.GetItemProperties

適用於

另請參閱