CommandPlacement.WithPriority(UInt16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a copy of the CommandPlacement with the specified priority.
public Microsoft.VisualStudio.Extensibility.Commands.CommandPlacement WithPriority (ushort priority);
member this.WithPriority : uint16 -> Microsoft.VisualStudio.Extensibility.Commands.CommandPlacement
Public Function WithPriority (priority As UShort) As CommandPlacement
Parameters
- priority
- UInt16
The placement of this command relative to other commands in the same VSCT defined group.
Returns
A new CommandPlacement with the specified priority.