Share via


CommandPlacement.WithPriority(UInt16) Method

Definition

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.

Applies to