Invokes the command with the specified arguments for each node in the selection corresponding to one data connection.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Public Overrides Sub Invoke ( _
arg As Object _
)
'使用
Dim instance As DataViewSelectionMenuCommand
Dim arg As Object
instance.Invoke(arg)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
public override void Invoke(
Object arg
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
public:
virtual void Invoke(
Object^ arg
) override
public override function Invoke(
arg : Object
)
Parameters
arg
Type: System.ObjectArguments for the command to be invoked.
Permissions
- 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.
See Also
Reference
DataViewSelectionMenuCommand Class