CommandID Class
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.
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
- Inheritance
-
CommandID
- Attributes
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.
CommandID(Guid, Int32) |
Initializes a new instance of the CommandID class using the specified menu group GUID and command ID number. |
Guid |
Gets the GUID of the menu group that the menu command identified by this CommandID belongs to. |
ID |
Gets the numeric command ID. |
Equals(Object) |
Determines whether two CommandID instances are equal. |
Get |
Serves as a hash function for a particular type. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a String that represents the current object. |
Produkt | Verzie |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: