DiagramHasShapeMaps.Diagram 属性
DomainRole 图中定义的类型映射。
命名空间: Microsoft.VisualStudio.Modeling.DslDefinition
程序集: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
语法
声明
<DomainObjectIdAttribute("6fa25cab-954d-40ef-ae59-7298cd103865")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "ShapeMaps", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps/Diagram.PropertyDisplayName", _
PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, _
Multiplicity := Multiplicity.ZeroMany)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps/Diagram.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps/Diagram.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property Diagram As Diagram
[DomainObjectIdAttribute("6fa25cab-954d-40ef-ae59-7298cd103865")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ShapeMaps", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps/Diagram.PropertyDisplayName",
PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,
Multiplicity = Multiplicity.ZeroMany)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps/Diagram.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMaps/Diagram.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public Diagram Diagram { get; set; }
属性值
类型:Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。