共用方式為


ModelElement.OnDeleting Method

Called when this element is about to be deleted.

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

Syntax

'宣告
Protected Friend Overridable Sub OnDeleting
protected internal virtual void OnDeleting()
protected public:
virtual void OnDeleting()
abstract OnDeleting : unit -> unit 
override OnDeleting : unit -> unit 
 function OnDeleting()

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace