Partilhar via


DslHasDiagram.Diagram Property

DomainRole Diagram Dsl defining the diagram.

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

Syntax

'Declaração
<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")> _
<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")> _
Public Property Diagram As Diagram
    Get
    Set
[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")]
[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")]
public Diagram Diagram { get; set; }
[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")]
[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")]
public:
property Diagram^ Diagram {
    Diagram^ get ();
    void set (Diagram^ value);
}
[<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")>]
[<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")>]
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