ParentShapeHasRelativeChildShapes.GetParentShape Method
Gets ParentShape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Shared Function GetParentShape ( _
element As ShapeElement _
) As ShapeElement
public static ShapeElement GetParentShape(
ShapeElement element
)
public:
static ShapeElement^ GetParentShape(
ShapeElement^ element
)
static member GetParentShape :
element:ShapeElement -> ShapeElement
public static function GetParentShape(
element : ShapeElement
) : ShapeElement
Parameters
- element
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
.NET Framework Security
- 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.