Share 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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Protected ReadOnly Property ParentLink As ElementLink
'Usage
Dim value As ElementLink 

value = Me.ParentLink
protected ElementLink ParentLink { get; }
protected:
property ElementLink^ ParentLink {
    ElementLink^ get ();
}
protected 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

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace