다음을 통해 공유


ShapeElement.OnInitialize Method

Called to initialize the shape. Override this to attach event handlers and rules to this object.

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

Syntax

‘선언
Public Overridable Sub OnInitialize
public virtual void OnInitialize()
public:
virtual void OnInitialize()
abstract OnInitialize : unit -> unit 
override OnInitialize : unit -> unit 
public function OnInitialize()

Remarks

This method is called in a transaction.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace