2027 Class
Changes 5
C

MenuItem

Description:
An abstract base class that represent a context menu item.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.MenuItem
    Autodesk.Revit.UI.CommandMenuItem
    Autodesk.Revit.UI.SeparatorItem
    Autodesk.Revit.UI.SubMenuItem
public class MenuItem : IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the MenuItem
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.