Condividi tramite


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

Syntax

'Dichiarazione
Protected ReadOnly Property ParentLink As ElementLink
    Get
protected ElementLink ParentLink { get; }
protected:
property ElementLink^ ParentLink {
    ElementLink^ get ();
}
member ParentLink : ElementLink
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