Share via


DataMenuCommand.Invoke Method (Object)

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Invokes the menu command with the given parameter.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides Sub Invoke ( _
    arg As Object _
)
public override void Invoke(
    Object arg
)
public:
virtual void Invoke(
    Object^ arg
) override
abstract Invoke : 
        arg:Object -> unit  
override Invoke : 
        arg:Object -> unit
public override function Invoke(
    arg : Object
)

Parameters

  • arg
    Type: System.Object

    An optional argument for use by the command.

See Also

Reference

DataMenuCommand Class

Invoke Overload

Microsoft.VisualStudio.Data.Framework Namespace