Partilhar via


Propriedade DesignerHasDiagram.Diagram

Criador de diagrama DomainRole referenciando o diagrama.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintaxe

'Declaração
<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; }

Valor de propriedade

Tipo: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram

Segurança do .NET Framework

Consulte também

Referência

DesignerHasDiagram Classe

Namespace Microsoft.VisualStudio.Modeling.DslDefinition