Compartilhar via


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

'Declaração
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