共用方式為


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