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 則會傳回。

適用於

另請參閱