다음을 통해 공유


ParentShapeHasRelativeChildShapes.SetParentShape Method

Definition

Sets ParentShape.

public:
 static void SetParentShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ element, Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ newParentShape);
[System.Diagnostics.DebuggerStepThrough]
public static void SetParentShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement element, Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement newParentShape);
[<System.Diagnostics.DebuggerStepThrough>]
static member SetParentShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
Public Shared Sub SetParentShape (element As ShapeElement, newParentShape As ShapeElement)

Parameters

element
ShapeElement
newParentShape
ShapeElement
Attributes

Applies to