Gets or sets the weight of the command.


int Weight {get; set;}

Property value

The command priority. The default value is 0.


This number is when handling multiple matches for commands specified by wild cards. If commands specified by this command object match commands specified by another command object, the command object with the higher command priority prevails. The higher the value of the Weight property, the higher the priority.