Share via


MenuCommandService.FindCommand Yöntem

Tanım

Verilen komut kimliğiyle ilişkili öğesini arar MenuCommand .

Aşırı Yüklemeler

FindCommand(CommandID)

Verilen komut kimliğiyle ilişkili öğesini arar MenuCommand .

FindCommand(Guid, Int32)

Verilen komutla ilişkili öğesini arar MenuCommand .

FindCommand(CommandID)

Verilen komut kimliğiyle ilişkili öğesini arar MenuCommand .

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

Parametreler

commandID
CommandID

Bulmak CommandID için.

Döndürülenler

MenuCommand Verilen komutla ilişkili; aksi takdirde, null komut bulunamazsa.

Uygulamalar

Ayrıca bkz.

Şunlara uygulanır

FindCommand(Guid, Int32)

Verilen komutla ilişkili öğesini arar MenuCommand .

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

Parametreler

guid
Guid

Komutun GUID'i.

id
Int32

Komutun kimliği.

Döndürülenler

MenuCommand Verilen komutla ilişkili; aksi takdirde, null komut bulunamazsa.

Ayrıca bkz.

Şunlara uygulanır