Skip to content

AddInCommandBinding

Public Class

This object represents a binding between a Revit command and one or more handlers which override the behavior of the command in Revit.

Inheritance Hierarchy

System.Object
Autodesk.Revit.UI.AddInCommandBinding

Namespace: Autodesk.Revit.UI

Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class AddInCommandBinding

The AddInCommandBinding type exposes the following members.

Properties

Name

Description


Public Property

The Revit command Id.


Methods

Name

Description


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

ToString

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


Events

Name

Description


Public Event

Occurs before the command associated with this AddInCommandBinding executes.


Public Event
CanExecute

Occurs when the command associated with this AddInCommandBinding initiates a check to determine whether the command can be executed on the command target.


Public Event

Occurs when the command associated with this AddInCommandBinding executes.