Share via


ParentShapeHasRelativeChildShapes.SetParentShape Method

Sets ParentShape.

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

Syntax

'Declaration
Public Shared Sub SetParentShape ( _
    element As ShapeElement, _
    newParentShape As ShapeElement _
)
public static void SetParentShape(
    ShapeElement element,
    ShapeElement newParentShape
)
public:
static void SetParentShape(
    ShapeElement^ element, 
    ShapeElement^ newParentShape
)
static member SetParentShape : 
        element:ShapeElement * 
        newParentShape:ShapeElement -> unit
public static function SetParentShape(
    element : ShapeElement, 
    newParentShape : ShapeElement
)

Parameters

.NET Framework Security

See Also

Reference

ParentShapeHasRelativeChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace