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
'Declaration
Sub Invoke ( _
inArg As Object, _
outArg As IntPtr _
)
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.ObjectThe in parameters.
outArg
Type: System.IntPtrThe out parameter.
.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.