Share via


ParentShapeHasRelativeChildShapes.ParentShape Property

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
<DomainObjectIdAttribute("26c25712-40f8-4096-ab16-649d001d7a4d")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "RelativeChildShapes",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.PropertyDisplayName",  _
    PropagatesCopy := True, Multiplicity := Multiplicity.ZeroMany)> _
<BrowsableAttribute(False)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property ParentShape As ShapeElement
'Usage
Dim instance As ParentShapeHasRelativeChildShapes 
Dim value As ShapeElement 

value = instance.ParentShape

instance.ParentShape = value
[DomainObjectIdAttribute("26c25712-40f8-4096-ab16-649d001d7a4d")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "RelativeChildShapes", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.PropertyDisplayName", 
    PropagatesCopy = true, Multiplicity = Multiplicity.ZeroMany)]
[BrowsableAttribute(false)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public ShapeElement ParentShape { get; set; }
[DomainObjectIdAttribute(L"26c25712-40f8-4096-ab16-649d001d7a4d")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"RelativeChildShapes", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.PropertyDisplayName", 
    PropagatesCopy = true, Multiplicity = Multiplicity::ZeroMany)]
[BrowsableAttribute(false)]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapes/ParentShape.Description", 
    typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
property ShapeElement^ ParentShape {
    ShapeElement^ get ();
    void set (ShapeElement^ value);
}
public function get ParentShape () : ShapeElement 
public function set ParentShape (value : ShapeElement)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

.NET Framework Security

See Also

Reference

ParentShapeHasRelativeChildShapes Class

ParentShapeHasRelativeChildShapes Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace