PagedDataSource.GetItemProperties(PropertyDescriptor[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回代表繫結資料所用各項目屬性的 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 。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應