Behavior.FindCommand(CommandID) 메서드

정의

명령을 차단합니다.

public:
 virtual System::ComponentModel::Design::MenuCommand ^ FindCommand(System::ComponentModel::Design::CommandID ^ commandId);
public virtual System.ComponentModel.Design.MenuCommand FindCommand (System.ComponentModel.Design.CommandID commandId);
public virtual 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 Overridable Function FindCommand (commandId As CommandID) As MenuCommand

매개 변수

commandId
CommandID

CommandID 개체입니다.

반환

MenuCommand

MenuCommand 기본적으로 FindCommand(CommandID) 반환 null합니다.

설명

메서드는 FindCommand .에서 호출됩니다 BehaviorService. 자체 사용자 지정MenuCommand을 반환하여 이 메시지를 가로챌 수 있는 기회를 Behavior 제공합니다.

적용 대상

추가 정보