Share via


CommandPlacement Class

Definition

Defines where a command is placed.

public sealed class CommandPlacement : IEquatable<Microsoft.VisualStudio.Extensibility.Commands.CommandPlacement>
type CommandPlacement = class
    interface IEquatable<CommandPlacement>
Public NotInheritable Class CommandPlacement
Implements IEquatable(Of CommandPlacement)
Inheritance
CommandPlacement
Implements

Properties

Priority

Gets the placement of this command relative to other commands in the same VSCT defined group.

VsctParentId

Gets the VSCT parent identifier.

Methods

Equals(CommandPlacement)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

VsctParent(Guid, UInt32, UInt16)

Create a placement configuration using the Guid/Id pair of a group defined via VSCT.

WithPriority(UInt16)

Creates a copy of the CommandPlacement with the specified priority.

Applies to