DesignerHasDiagram.Diagram 属性

DomainRole 引用关系图的关系图设计器。

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

语法

声明
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram/Diagram.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("49fee961-f83b-436c-becd-37c9fba6b653")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Designer", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram/Diagram.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroOne)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram/Diagram.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Diagram As Diagram
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("49fee961-f83b-436c-becd-37c9fba6b653")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Designer", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram/Diagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroOne)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagram/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public Diagram Diagram { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.DslDefinition.Diagram

.NET Framework 安全性

请参见

参考

DesignerHasDiagram 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间