ParentShapeContainsNestedChildShapes.ParentShape Property
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("885731b0-29e4-4380-aa57-99bdea7f944e")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "NestedChildShapes", _
PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.PropertyDisplayName", _
PropagatesCopy := True, Multiplicity := Multiplicity.ZeroMany)> _
Public Property ParentShape As ShapeElement
'Usage
Dim instance As ParentShapeContainsNestedChildShapes
Dim value As ShapeElement
value = instance.ParentShape
instance.ParentShape = value
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("885731b0-29e4-4380-aa57-99bdea7f944e")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "NestedChildShapes",
PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.PropertyDisplayName",
PropagatesCopy = true, Multiplicity = Multiplicity.ZeroMany)]
public ShapeElement ParentShape { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"885731b0-29e4-4380-aa57-99bdea7f944e")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"NestedChildShapes",
PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapes/ParentShape.PropertyDisplayName",
PropagatesCopy = true, Multiplicity = Multiplicity::ZeroMany)]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ParentShapeContainsNestedChildShapes Class