ElementTypeDescriptor.GetExtensionProperties 方法
傳回任何延伸項目屬性描述項
命名空間: Microsoft.VisualStudio.Modeling.Design
組件: Microsoft.VisualStudio.Modeling.Sdk.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)
語法
'宣告
Protected Overridable Function GetExtensionProperties ( _
baseElement As ModelElement, _
attributes As Attribute() _
) As IEnumerable(Of PropertyDescriptor)
protected virtual IEnumerable<PropertyDescriptor> GetExtensionProperties(
ModelElement baseElement,
Attribute[] attributes
)
參數
- baseElement
型別:Microsoft.VisualStudio.Modeling.ModelElement
目前的項目描述
- attributes
型別:array<System.Attribute[]
型別做為篩選條件的屬性陣列。
傳回值
型別:System.Collections.Generic.IEnumerable<PropertyDescriptor>
包含所有的延伸項目屬性的集合
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。