Share via


IPreEventArgs.Cancel property

Reads or writes a Boolean value that indicates whether to cancel an event.

Namespace:  Microsoft.Office.Project.Server.Events
Assembly:  Microsoft.Office.Project.Server.Events.Receivers (in Microsoft.Office.Project.Server.Events.Receivers.dll)

Syntax

'Declaration
Property Cancel As Boolean
    Get
    Set
'Usage
Dim instance As IPreEventArgs
Dim value As Boolean

value = instance.Cancel

instance.Cancel = value
bool Cancel { get; set; }

Property value

Type: System.Boolean

See also

Reference

IPreEventArgs interface

IPreEventArgs members

Microsoft.Office.Project.Server.Events namespace