共用方式為


IOleMenuCommand.Invoke Method

Invokes the command.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Sub Invoke ( _
    inArg As Object, _
    outArg As IntPtr _
)
void Invoke(
    Object inArg,
    IntPtr outArg
)

Parameters

.NET Framework Security

See Also

Reference

IOleMenuCommand Interface

Microsoft.VisualStudio.Shell Namespace