MenuCommandService.FindCommand Methode

Definition

Sucht nach der MenuCommand zugeordneten Befehls-ID.

Überlädt

Name Beschreibung
FindCommand(CommandID)

Sucht nach der MenuCommand zugeordneten Befehls-ID.

FindCommand(Guid, Int32)

Sucht nach dem MenuCommand zugeordneten Befehl.

FindCommand(CommandID)

Sucht nach der MenuCommand zugeordneten Befehls-ID.

public:
 virtual 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

Parameter

commandID
CommandID

Der CommandID zu findende

Gibt zurück

The MenuCommand associated with the given command; otherwise, null if the command is not found.

Implementiert

Weitere Informationen

Gilt für:

FindCommand(Guid, Int32)

Sucht nach dem MenuCommand zugeordneten Befehl.

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

Parameter

guid
Guid

Die GUID des Befehls.

id
Int32

Die ID des Befehls.

Gibt zurück

The MenuCommand associated with the given command; otherwise, null if the command is not found.

Weitere Informationen

Gilt für: