Share via


SPEventPropertiesBase.Cancel Property

Gets or sets a Boolean value that determines whether the event is cancelled.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Property Cancel As Boolean
    Get
    Set

Dim instance As SPEventPropertiesBase
Dim value As Boolean

value = instance.Cancel

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

Property Value

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

See Also

Reference

SPEventPropertiesBase Class

SPEventPropertiesBase Members

Microsoft.SharePoint Namespace