Partager via


TaskMenuCommand.Priority Property

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.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Property Priority As Integer
public int Priority { get; set; }
public:
property int Priority {
    int get ();
    void set (int value);
}
member Priority : int with get, set
function get Priority () : int 
function set Priority (value : int)

Property Value

Type: System.Int32

.NET Framework Security

See Also

Reference

TaskMenuCommand Class

Microsoft.VisualStudio.Modeling.Shell Namespace