MenuCommandService.FindCommand 메서드

정의

MenuCommand 지정된 명령 ID와 연결된 명령을 검색합니다.

오버로드

Name Description
FindCommand(CommandID)

MenuCommand 지정된 명령 ID와 연결된 명령을 검색합니다.

FindCommand(Guid, Int32)

MenuCommand 지정된 명령과 연결된 명령을 검색합니다.

FindCommand(CommandID)

Source:
MenuCommandService.cs
Source:
MenuCommandService.cs
Source:
MenuCommandService.cs
Source:
MenuCommandService.cs
Source:
MenuCommandService.cs

MenuCommand 지정된 명령 ID와 연결된 명령을 검색합니다.

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)

Source:
MenuCommandService.cs
Source:
MenuCommandService.cs
Source:
MenuCommandService.cs
Source:
MenuCommandService.cs
Source:
MenuCommandService.cs

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 그렇지 않으면 명령을 찾을 수 없습니다.

추가 정보

적용 대상