Condividi tramite


DesignerHasDiagram.Diagram Property

DomainRole Diagram Designer referencing the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram

.NET Framework Security

See Also

Reference

DesignerHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace