共用方式為


VSConstants.SID_SUIHostCommandDispatcher Field

The name of the Visual Studio service that implements IOleCommandTarget.

Namespace:  Microsoft.VisualStudio
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
Public Shared ReadOnly SID_SUIHostCommandDispatcher As Guid
'用途
Dim value As Guid

value = VSConstants.SID_SUIHostCommandDispatcher
public static readonly Guid SID_SUIHostCommandDispatcher
public:
static initonly Guid SID_SUIHostCommandDispatcher
static val SID_SUIHostCommandDispatcher: Guid
public static final var SID_SUIHostCommandDispatcher : Guid

Remarks

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

.NET Framework Security

See Also

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

Other Resources

IDE Constants