共用方式為


VSCommands.ExecuteCommand Field

Executes a Visual Studio command table command.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'宣告
Public Shared ReadOnly ExecuteCommand As RoutedCommand
public static readonly RoutedCommand ExecuteCommand

Remarks

The command parameter for this command is a string consisting of the Visual Studio command's canonical name optionally followed by the Visual Studio command's parameters (for example, "File.Open readme.txt").

.NET Framework Security

See Also

Reference

VSCommands Class

Microsoft.VisualStudio.Shell Namespace