DslDefinitionModelElementPropertyDescriptor 是概念属性
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition.Design
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.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。,在 GetValue() 和 SetValue() 实际使用传递的参数情况下,这可能为空。
- domainProperty
类型:Microsoft.VisualStudio.Modeling.DomainPropertyInfo
属性 (必需)
- attributes
类型:array<System.Attribute[]
此属性描述符的属性
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。