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 _
)
用法
Dim instance As IOleMenuCommand
Dim inArg As Object
Dim outArg As IntPtr
instance.Invoke(inArg, outArg)
void Invoke(
    Object inArg,
    IntPtr outArg
)
void Invoke(
    Object^ inArg, 
    IntPtr outArg
)
abstract Invoke : 
        inArg:Object * 
        outArg:IntPtr -> unit 
function Invoke(
    inArg : Object, 
    outArg : IntPtr
)
Parameters
- inArg
 Type: System.Object
- outArg
 Type: System.IntPtr
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.