返回任何扩展元素的属性描述符
命名空间: Microsoft.VisualStudio.Modeling.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。