RevitAPIPreEventArgs
Description:
The class is used as a base class for the arguments for any pre-event.
The class is used as a base class for the arguments for any pre-event.
Remarks:
A pre-event is the event raised before executing the process that was related with the event.
A pre-event is the event raised before executing the process that was related with the event.
Inheritance Hierarchy:
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitAPIEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreEventArgs
Autodesk.Revit.DB.Events.DocumentCreatingEventArgs
Autodesk.Revit.DB.Events.DocumentOpeningEventArgs
Autodesk.Revit.DB.Events.LinkedResourceOpeningEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreDocEventArgs
Autodesk.Revit.UI.Events.ApplicationClosingEventArgs
Autodesk.Revit.UI.Events.DialogBoxShowingEventArgs
Autodesk.Revit.UI.Events.DisplayingOptionsDialogEventArgs
Autodesk.Revit.UI.Events.FormulaEditingEventArgs
Autodesk.Revit.UI.Events.IdlingEventArgs
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitAPIEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreEventArgs
Autodesk.Revit.DB.Events.DocumentCreatingEventArgs
Autodesk.Revit.DB.Events.DocumentOpeningEventArgs
Autodesk.Revit.DB.Events.LinkedResourceOpeningEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreDocEventArgs
Autodesk.Revit.UI.Events.ApplicationClosingEventArgs
Autodesk.Revit.UI.Events.DialogBoxShowingEventArgs
Autodesk.Revit.UI.Events.DisplayingOptionsDialogEventArgs
Autodesk.Revit.UI.Events.FormulaEditingEventArgs
Autodesk.Revit.UI.Events.IdlingEventArgs
public class RevitAPIPreEventArgs : RevitAPIEventArgs
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Cancel() | None | When the event is cancellable, may call the Cancel() method to cancel it. | |
| Dispose() | None | (Inherited from RevitAPIEventArgs ) | RevitAPIEventArgs |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| IsCancelled() | Boolean | Indicates whether the event is being cancelled. (Inherited from RevitAPIEventArgs ) | RevitAPIEventArgs |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Cancellable | bool | Indicates whether an event may be cancelled by an event delegate. (Inherited from RevitAPIEventArgs ) | RevitAPIEventArgs |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from RevitAPIEventArgs ) | RevitAPIEventArgs |