ReadOnlyLinkedElementCollection<T>.ITypedList.GetItemProperties 方法
傳回集合項目型別的完整可瀏覽屬性集合。 如果集合中有實際項目,可能的話請以 IMS 項目取代反射項目,允許透過它們進行交易更新。
命名空間: Microsoft.VisualStudio.Modeling
組件: Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)
語法
'宣告
Private Function GetItemProperties ( _
listAccessors As PropertyDescriptor() _
) As PropertyDescriptorCollection Implements ITypedList.GetItemProperties
PropertyDescriptorCollection ITypedList.GetItemProperties(
PropertyDescriptor[] listAccessors
)
參數
- listAccessors
類型:array<System.ComponentModel.PropertyDescriptor[]
用來決定要傳回哪些屬性的 PropertyDescriptors 陣列。
傳回值
類型:System.ComponentModel.PropertyDescriptorCollection
PropertyDescriptor 物件的集合,這些物件會描述清單中的項目。
實作
ITypedList.GetItemProperties(array<PropertyDescriptor[])
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。