TaskMenuCommand Class
Represents a menu command entry on the context menu for a validation item in the error list.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.Modeling.Shell.TaskMenuCommand
Microsoft.VisualStudio.Modeling.Shell.NavigateToModelExplorerTreeNodeCommand
Microsoft.VisualStudio.Modeling.Shell.NavigateToShapesOnDiagramCommand
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public MustInherit Class TaskMenuCommand
public abstract class TaskMenuCommand
public ref class TaskMenuCommand abstract
[<AbstractClass>]
type TaskMenuCommand = class end
public abstract class TaskMenuCommand
The TaskMenuCommand type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TaskMenuCommand() | Constructor. | |
TaskMenuCommand(Int32) | Constructor. |
Top
Properties
Name | Description | |
---|---|---|
MenuText | Gets the text associated with this menu command entry | |
Priority | Indicates the priority of the command. Commands with lower numbers are shown earlier in the list, and the first command is executed on double-click. |
Top
Methods
Name | Description | |
---|---|---|
DoCommand | Executes the command. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.