OleMenuCommand.Invoke Method (Object)
Executes the command.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Overrides Sub Invoke ( _
inArg As Object _
)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public override void Invoke(
Object inArg
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
public:
virtual void Invoke(
Object^ inArg
) override
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract Invoke :
inArg:Object -> unit
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
override Invoke :
inArg:Object -> unit
public override function Invoke(
inArg : Object
)
Parameters
- inArg
Type: System.Object
The parameter passed to the command.
.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.