Share

RevitAPIEventArgs 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: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class RevitAPIEventArgs : EventArgs, 
	IDisposable

The RevitAPIEventArgs type exposes the following members.

Properties

 NameDescription
Public propertyCancellable Indicates whether an event may be cancelled by an event delegate.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the RevitAPIEventArgs
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsCancelled Indicates whether the event is being cancelled.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?