Share

ExternalCommandsData Class

Base class used to contain external command information necessary to construct PushButtonData and MenuItem.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.UI.ExternalCommandsData


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class ExternalCommandsData : IDisposable

The ExternalCommandsData type exposes the following members.

Properties

 NameDescription
Public propertyAssemblyName The assembly path of the menu item.
Public propertyAvailabilityClassName The full class name for the class providing the entry point to decide availability of this menu item.
Public propertyClassName The name of the class containing the implementation for the command.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.

Methods

 NameDescription
Public methodDisposeReleases all resources used by the ExternalCommandsData
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 methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?