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)

Syntax

'Declaration
Public Sub New ( _
    cancel As Boolean _
)
'Usage
Dim cancel As Boolean

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

Parameters

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

Remarks

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

Reference

ContentControlExitingEventArgs Class

ContentControlExitingEventArgs Members

Microsoft.Office.Tools.Word Namespace