Partager via


DslLibraryDefinesElements.DiagramElement Property

DomainRole DiagramElement Dsl library defining the diagram element.

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.DslLibraryDefinesElements/DiagramElement.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "DslLibrary",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.One)> _
<DomainObjectIdAttribute("1d2692e5-6b6b-4923-8413-c39e18fe708f")> _
Public MustOverride Property DiagramElement As DiagramElement
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DslLibrary", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)]
[DomainObjectIdAttribute("1d2692e5-6b6b-4923-8413-c39e18fe708f")]
public abstract DiagramElement DiagramElement { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"DslLibrary", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, 
    Multiplicity = Multiplicity::One)]
[DomainObjectIdAttribute(L"1d2692e5-6b6b-4923-8413-c39e18fe708f")]
public:
virtual property DiagramElement^ DiagramElement {
    DiagramElement^ get () abstract;
    void set (DiagramElement^ value) abstract;
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "DslLibrary", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements/DiagramElement.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.One)>]
[<DomainObjectIdAttribute("1d2692e5-6b6b-4923-8413-c39e18fe708f")>]
abstract DiagramElement : DiagramElement with get, set
abstract function get DiagramElement () : DiagramElement 
abstract function set DiagramElement (value : DiagramElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement

.NET Framework Security

See Also

Reference

DslLibraryDefinesElements Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace