CommandID 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示由數值命令 ID 和 GUID 功能表群組識別項所組成的唯一命令識別項 (Command Identifier)。
public ref class CommandID
C#
public class CommandID
C#
[System.Runtime.InteropServices.ComVisible(true)]
public class CommandID
type CommandID = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type CommandID = class
Public Class CommandID
- 繼承
-
CommandID
- 屬性
可 CommandID 唯一識別命令。 唯一的命令識別系統可防止命令標識符之間的衝突。 命令標識碼是由功能表群組 GUID 和數值命令標識碼所組成。
CommandID(Guid, Int32) |
使用指定的功能表群組 GUID 和命令 ID 數,初始化 CommandID 類別的新執行個體。 |
Equals(Object) |
判斷兩個 CommandID 執行個體是否相等。 |
Get |
以特定類型的雜湊函式進行服務。 |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回表示目前物件的 String。 |
產品 | 版本 |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.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 |