Share via


DataMenuCommand.Invoke Method

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.

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

Syntax

'Declaration
Public Overrides NotOverridable Sub Invoke
public override sealed void Invoke()
public:
virtual void Invoke() override sealed
abstract Invoke : unit -> unit  
override Invoke : unit -> unit
public override final function Invoke()

See Also

Reference

DataMenuCommand Class

Invoke Overload

Microsoft.VisualStudio.Data.Framework Namespace