The class is used as base class for all event argument classes.
Inheritance Hierarchy
System.ObjectSystem.EventArgs
Autodesk.Revit.DB.Events.RevitAPIEventArgs
Autodesk.Revit.DB.Events.RevitAPIPostEventArgs
Autodesk.Revit.DB.Events.RevitAPIPreEventArgs
Autodesk.Revit.DB.Events.RevitAPISingleEventArgs
Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class RevitAPIEventArgs : EventArgs, IDisposable
The RevitAPIEventArgs type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Cancellable | Indicates whether an event may be cancelled by an event delegate. | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the RevitAPIEventArgs | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsCancelled | Indicates whether the event is being cancelled. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
