Delen via


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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

.NET Framework Security

See Also

Reference

ParentShapeContainsNestedChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace