Show / Hide Table of Contents

Class Commanding

A collection of services related to the command system.

Inheritance
System.Object
Commanding
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Community.VisualStudio.Toolkit
Assembly: Community.VisualStudio.Toolkit.dll
Syntax
public class Commanding

Methods

| Improve this Doc View Source

GetCommandServiceAsync()

Provides methods to manage the global designer verbs and menu commands available in design mode, and to show some types of shortcut menus.

Declaration
public Task<IMenuCommandService> GetCommandServiceAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.ComponentModel.Design.IMenuCommandService>
| Improve this Doc View Source

GetPriorityCommandTargetAsync()

Used to register and unregister a command target as a high priority command handler.

Declaration
public Task<IVsRegisterPriorityCommandTarget> GetPriorityCommandTargetAsync()
Returns
Type Description
System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.Interop.IVsRegisterPriorityCommandTarget>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX