Delen via


ParentShapeContainsNestedChildShapes.SetParentShape Method

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

ParentShapeContainsNestedChildShapes Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace