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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.