Represents a command id in Autodesk Revit.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.UI.RevitCommandId
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class RevitCommandId : IDisposable
The RevitCommandId type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CanHaveBinding | Indicates whether the command can be assigned a binding to an external add-in. | |
| HasBinding | Indicates whether a replacement of either the Execute or CanExecute events (or both) have been applied to this command. | |
| Id | The command id. | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| Name | The command name. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the RevitCommandId | |
| 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) | |
| LookupCommandId | Looks up and retrieves the Revit command id with the given id string. | |
| LookupPostableCommandId | Looks up and retrieves the Revit command id with the given id string. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
