Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- element
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- newParentShape
 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.