ElementPropertyDescriptor 构造函数 (ElementTypeDescriptor, ModelElement, DomainPropertyInfo, array<Attribute[])

使用指定的默认值提供方初始化 ElementPropertyDescriptor 类的新实例。

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

语法

声明
Public Sub New ( _
    owner As ElementTypeDescriptor, _
    modelElement As ModelElement, _
    domainProperty As DomainPropertyInfo, _
    attributes As Attribute() _
)
public ElementPropertyDescriptor(
    ElementTypeDescriptor owner,
    ModelElement modelElement,
    DomainPropertyInfo domainProperty,
    Attribute[] attributes
)

参数

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

异常

异常 条件
ArgumentNullException

owner 或 domainProperty 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

owner 对于上述范围属性提供默认值。

.NET Framework 安全性

请参阅

参考

ElementPropertyDescriptor 类

ElementPropertyDescriptor 重载

Microsoft.VisualStudio.Modeling.Design 命名空间

ModelElement