DslDefinitionModelElementPropertyDescriptor 描述概念属性。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)
语法
声明
Public Sub New ( _
owner As ElementTypeDescriptor, _
modelElement As ModelElement, _
domainProperty As DomainPropertyInfo, _
attributes As Attribute() _
)
public DslDefinitionModelElementPropertyDescriptor(
ElementTypeDescriptor owner,
ModelElement modelElement,
DomainPropertyInfo domainProperty,
Attribute[] attributes
)
参数
- owner
类型:Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor
此对象的所有者
- modelElement
类型:Microsoft.VisualStudio.Modeling.ModelElement
ModelElement 的属性将被操作。这可能是 null,在案例 GetValue () 和 SetValue () 实际上使用传递参数。
- domainProperty
类型:Microsoft.VisualStudio.Modeling.DomainPropertyInfo
属性(必需)
- attributes
类型:array<System.Attribute[]
此数次那个说明符的属性的数组
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。