Partager via


PreEventArgs.Cancel Property

Reads or writes a Boolean value that indicates whether to cancel an event that is associated with a project entity.

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

Syntax

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

value = instance.Cancel

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

Property Value

Type: System.Boolean

Implements

IPreEventArgs.Cancel

See Also

Reference

PreEventArgs Class

PreEventArgs Members

Microsoft.Office.Project.Server.Events Namespace