共用方式為


DslLibraryDefinesElements.DiagramElement 屬性

定義圖表項目的 DomainRole DiagramElement Dsl 程式庫。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<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; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElement

.NET Framework 安全性

請參閱

參考

DslLibraryDefinesElements 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間