共用方式為


ShapeMapHasParentElementPath.ShapeMap 屬性

做為對應圖案父代之圖案、泳道或圖表主題的 DomainRole ShapeMap 路徑。

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath/ShapeMap.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath/ShapeMap.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "ParentElementPath",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath/ShapeMap.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("4f130c75-5d16-4f33-8e57-3d2ee1be4abc")> _
Public Property ShapeMap As BaseShapeMap
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath/ShapeMap.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath/ShapeMap.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ParentElementPath", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPath/ShapeMap.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("4f130c75-5d16-4f33-8e57-3d2ee1be4abc")]
public BaseShapeMap ShapeMap { get; set; }

屬性值

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

.NET Framework 安全性

請參閱

參考

ShapeMapHasParentElementPath 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間