ToolStripItem.OnRequestCommandExecute(EventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note
To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures
property to True
in your project file. For more information, see https://aka.ms/dotnet-preview-features.
Called in the context of OnClick(EventArgs) to invoke Execute(Object) if the context allows.
protected:
virtual void OnRequestCommandExecute(EventArgs ^ e);
[System.Runtime.Versioning.RequiresPreviewFeatures]
protected virtual void OnRequestCommandExecute (EventArgs e);
protected virtual void OnRequestCommandExecute (EventArgs e);
[<System.Runtime.Versioning.RequiresPreviewFeatures>]
abstract member OnRequestCommandExecute : EventArgs -> unit
override this.OnRequestCommandExecute : EventArgs -> unit
abstract member OnRequestCommandExecute : EventArgs -> unit
override this.OnRequestCommandExecute : EventArgs -> unit
Protected Overridable Sub OnRequestCommandExecute (e As EventArgs)
Parameters
- Attributes
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET