Share via


ContentControlBase.Deleting Event (2007 System)

Occurs just before the content control is deleted from the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)

Syntax

'Declaration
Public Event Deleting As EventHandler(Of ContentControlDeletingEventArgs)
'Usage
Dim instance As ContentControlBase 
Dim handler As EventHandler(Of ContentControlDeletingEventArgs)

AddHandler instance.Deleting, handler
public event EventHandler<ContentControlDeletingEventArgs> Deleting
public:
 event EventHandler<ContentControlDeletingEventArgs^>^ Deleting {
    void add (EventHandler<ContentControlDeletingEventArgs^>^ value);
    void remove (EventHandler<ContentControlDeletingEventArgs^>^ value);
}
JScript does not support events.

Remarks

For more information about handling events, see Consuming Events.

.NET Framework Security

See Also

Reference

ContentControlBase Class

ContentControlBase Members

Microsoft.Office.Tools.Word Namespace