ElementTypeDescriptor.CreatePropertyDescriptor 方法

创建模型元素的属性的描述符。

命名空间:  Microsoft.VisualStudio.Modeling.Design
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

语法

声明
Protected Overridable Function CreatePropertyDescriptor ( _
    requestor As ModelElement, _
    domainPropertyInfo As DomainPropertyInfo, _
    attributes As Attribute() _
) As ElementPropertyDescriptor
protected virtual ElementPropertyDescriptor CreatePropertyDescriptor(
    ModelElement requestor,
    DomainPropertyInfo domainPropertyInfo,
    Attribute[] attributes
)

参数

  • attributes
    类型:array<System.Attribute[]
    包含特性应用于字段的特性的数组。

返回值

类型:Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
模型元素的属性的类型描述符。

.NET Framework 安全性

请参见

参考

ElementTypeDescriptor 类

Microsoft.VisualStudio.Modeling.Design 命名空间