Skip to content

RevitAPIEventArgs

Public Class

The class is used as base class for all event argument classes.

Inheritance Hierarchy

System.Object
System.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: 25.0.0.0 (25.0.0.0)

Syntax

public class RevitAPIEventArgs : EventArgs,
IDisposable

The RevitAPIEventArgs type exposes the following members.

Properties

Name

Description


Public Property
Cancellable

Indicates whether an event may be cancelled by an event delegate.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method

Releases all resources used by the RevitAPIEventArgs


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method
IsCancelled

Indicates whether the event is being cancelled.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)