Partilhar via


DiagramRepresentsClass.Diagram Property

DomainRole Diagram The class of element represented by a 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
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Class", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.One)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("22bf5ffd-7862-45ca-a455-ad29fe360dbb")> _
Public Property Diagram As Diagram
    Get
    Set
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("22bf5ffd-7862-45ca-a455-ad29fe360dbb")]
public Diagram Diagram { get; set; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Class", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::One)]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"22bf5ffd-7862-45ca-a455-ad29fe360dbb")]
public:
property Diagram^ Diagram {
    Diagram^ get ();
    void set (Diagram^ value);
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Class", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.One)>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass/Diagram.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("22bf5ffd-7862-45ca-a455-ad29fe360dbb")>]
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

DiagramRepresentsClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace