共用方式為


ShapeElement.OnShapeInserted Method

Called when a shape has been inserted as a child of another.

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 Overridable Sub OnShapeInserted
public virtual void OnShapeInserted()
public:
virtual void OnShapeInserted()
abstract OnShapeInserted : unit -> unit  
override OnShapeInserted : unit -> unit
public function OnShapeInserted()

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace