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.
Represents a unique command identifier that consists of a numeric command ID and a GUID menu group identifier.
public ref class CommandID
public class CommandID
[System.Runtime.InteropServices.ComVisible(true)] public class CommandID
type CommandID = class
[<System.Runtime.InteropServices.ComVisible(true)>] type CommandID = class
Public Class CommandID
A CommandID uniquely identifies a command. A unique command identification system prevents conflicts between command identifiers. Command IDs consist of a menu group GUID and a numeric command identifier.
Initializes a new instance of the CommandID class using the specified menu group GUID and command ID number.
Gets the GUID of the menu group that the menu command identified by this CommandID belongs to.
Gets the numeric command ID.
Determines whether two CommandID instances are equal.
Serves as a hash function for a particular type.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a String that represents the current object.