Partager via


DslHasDiagram.Diagram Property

DomainRole Diagram Dsl defining 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.DslHasDiagram/Diagram.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Dsl", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("90fe7c10-a0ae-446c-882f-771507bef31a")> _
Public Property Diagram As Diagram
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Dsl", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("90fe7c10-a0ae-446c-882f-771507bef31a")]
public Diagram Diagram { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"Dsl", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::One)]
[DomainObjectIdAttribute(L"90fe7c10-a0ae-446c-882f-771507bef31a")]
public:
property Diagram^ Diagram {
    Diagram^ get ();
    void set (Diagram^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Dsl", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram/Diagram.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)>]
[<DomainObjectIdAttribute("90fe7c10-a0ae-446c-882f-771507bef31a")>]
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

DslHasDiagram Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace