ShapeElement.ParentShape Property

Gets the parent shape for the shape.

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

Syntax

'宣言
Public ReadOnly Property ParentShape As ShapeElement
'使用
Dim instance As ShapeElement
Dim value As ShapeElement

value = instance.ParentShape
public ShapeElement ParentShape { get; }
public:
property ShapeElement^ ParentShape {
    ShapeElement^ get ();
}
public function get ParentShape () : ShapeElement

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The parent shape for the shape; otherwise, a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace