Share 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
<DataMemberAttribute> _
Public Property Cancel As Boolean
    Get
    Set
'Usage
Dim instance As PreEventArgs
Dim value As Boolean

value = instance.Cancel

instance.Cancel = value
[DataMemberAttribute]
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