MenuCommandService.FindCommand Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Söker efter det MenuCommand associerade med det angivna kommando-ID:t.
Överlagringar
| Name | Description |
|---|---|
| FindCommand(CommandID) |
Söker efter det MenuCommand associerade med det angivna kommando-ID:t. |
| FindCommand(Guid, Int32) |
Söker efter det MenuCommand associerade med det angivna kommandot. |
FindCommand(CommandID)
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
Söker efter det MenuCommand associerade med det angivna kommando-ID:t.
public:
virtual System::ComponentModel::Design::MenuCommand ^ FindCommand(System::ComponentModel::Design::CommandID ^ commandID);
public System.ComponentModel.Design.MenuCommand FindCommand(System.ComponentModel.Design.CommandID commandID);
public System.ComponentModel.Design.MenuCommand? FindCommand(System.ComponentModel.Design.CommandID commandID);
abstract member FindCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
override this.FindCommand : System.ComponentModel.Design.CommandID -> System.ComponentModel.Design.MenuCommand
Public Function FindCommand (commandID As CommandID) As MenuCommand
Parametrar
Returer
Associerad MenuCommand med det angivna kommandot, annars null om kommandot inte hittas.
Implementeringar
Se även
Gäller för
FindCommand(Guid, Int32)
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
- Källa:
- MenuCommandService.cs
Söker efter det MenuCommand associerade med det angivna kommandot.
protected:
System::ComponentModel::Design::MenuCommand ^ FindCommand(Guid guid, int id);
protected System.ComponentModel.Design.MenuCommand FindCommand(Guid guid, int id);
protected System.ComponentModel.Design.MenuCommand? FindCommand(Guid guid, int id);
member this.FindCommand : Guid * int -> System.ComponentModel.Design.MenuCommand
Protected Function FindCommand (guid As Guid, id As Integer) As MenuCommand
Parametrar
- guid
- Guid
GUID för kommandot.
- id
- Int32
ID:t för kommandot.
Returer
Associerad MenuCommand med det angivna kommandot, annars null om kommandot inte hittas.