MenuCommandService.FindCommand 메서드

정의

제공된 명령 ID에 연결된 MenuCommand를 검색합니다.

오버로드

FindCommand(CommandID)

제공된 명령 ID에 연결된 MenuCommand를 검색합니다.

FindCommand(Guid, Int32)

제공된 명령에 연결된 MenuCommand를 검색합니다.

FindCommand(CommandID)

제공된 명령 ID에 연결된 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

매개 변수

commandID
CommandID

찾을 CommandID입니다.

반환

제공된 명령에 연결된 MenuCommand이거나, 명령을 찾을 수 없으면 null입니다.

구현

추가 정보

적용 대상

FindCommand(Guid, Int32)

제공된 명령에 연결된 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

매개 변수

guid
Guid

명령의 GUID입니다.

id
Int32

명령의 ID입니다.

반환

제공된 명령에 연결된 MenuCommand이거나, 명령을 찾을 수 없으면 null입니다.

추가 정보

적용 대상