ElementTypeDescriptor.GetDisplayProperties 方法 (ModelElement, Store, PropertyDescriptor%)
傳回對應到網域中的每個屬性的屬性描述項目的清單
命名空間: Microsoft.VisualStudio.Modeling.Design
組件: Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
語法
'宣告
Protected Function GetDisplayProperties ( _
requestor As ModelElement, _
store As Store, _
ByRef defaultPropertyDescriptor As PropertyDescriptor _
) As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetDisplayProperties(
ModelElement requestor,
Store store,
ref PropertyDescriptor defaultPropertyDescriptor
)
參數
- requestor
型別:Microsoft.VisualStudio.Modeling.ModelElement
要求的屬性值的 ModelElement。這個值可能為 null 的型別層級 TypeDescriptor
- store
型別:Microsoft.VisualStudio.Modeling.Store
要用來取得 DomainInfo 從存放區。例子中 TypeDescriptor 的情況下,這是擁有要求者的存放區。
- defaultPropertyDescriptor
型別:System.ComponentModel.PropertyDescriptor%
傳回值
型別:System.ComponentModel.PropertyDescriptorCollection
一份對應到網域中的每個屬性的屬性描述項
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。