Revit 2022 API |
RevitAPIEventArgs..::..IsCancelled Method |
RevitAPIEventArgs Class See Also |
Indicates whether the event is being cancelled.
Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2011
Syntax
C# |
---|
public bool IsCancelled() |
Visual Basic |
---|
Public Function IsCancelled As Boolean |
Visual C++ |
---|
public: bool IsCancelled() |
Remarks
If the event is cancellable and an event delegate wishes to cancel the event, it may call the Cancel() method if it is available for a particular event's arguments.