ContentControlExitingEventArgs Constructor

Initializes a new instance of the ContentControlExitingEventArgs class.

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


Public Sub New ( _
    cancel As Boolean _
Dim cancel As Boolean

Dim instance As New ContentControlExitingEventArgs(cancel)
public ContentControlExitingEventArgs(
    bool cancel


  • cancel
    Type: System.Boolean
    true to cancel the event; otherwise, false.


Typically, you should not create an instance of the ContentControlExitingEventArgs class in your code. Visual Studio Tools for Office creates an instance of this class when the Exiting event of a content control is raised.

.NET Framework Security

See Also


ContentControlExitingEventArgs Class

ContentControlExitingEventArgs Members

Microsoft.Office.Tools.Word Namespace