Delen via


ShapeElement.ParentLink Property

Gets the relationship instance from the shape to the parent shape.

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

Syntax

'Declaration
Protected ReadOnly Property ParentLink As ElementLink
protected ElementLink ParentLink { get; }
protected:
property ElementLink^ ParentLink {
    ElementLink^ get ();
}
member ParentLink : ElementLink with get
function get ParentLink () : ElementLink

Property Value

Type: Microsoft.VisualStudio.Modeling.ElementLink

Remarks

You can usually use ParentShape directly. To delete the link, assign nulla null reference (Nothing in Visual Basic) to ParentShape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace