共用方式為


VSConstants.SID_SUIHostCommandDispatcher Field

Definition

SUIHostCommandDispatcher service returns an object that implements IOleCommandTarget. This object handles command routing for the Environment. Use this service if you need to route a command based on the current selection/state of the Environment.

public: static initonly Guid SID_SUIHostCommandDispatcher;
public static readonly Guid SID_SUIHostCommandDispatcher;
 staticval mutable SID_SUIHostCommandDispatcher : Guid
Public Shared ReadOnly SID_SUIHostCommandDispatcher As Guid 

Field Value

Remarks

Call IServiceProvider.QueryService for the SID_SUIHostCommandDispatcher service. Use the resulting implementer of IOleCommandTarget to synchronously dispatch commands.

Applies to