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
- 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.