Partager via


DataViewCommandProvider.IVsDataSupportObject<IVsDataViewCommandProvider>.Invoke Method

Invokes the specified command.

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

Syntax

'Declaration
Private Function Invoke ( _
    name As String, _
    args As Object(), _
    parameters As Object() _
) As Object Implements IVsDataSupportObject(Of IVsDataViewCommandProvider).Invoke
Object IVsDataSupportObject<IVsDataViewCommandProvider>.Invoke(
    string name,
    Object[] args,
    Object[] parameters
)
private:
virtual Object^ Invoke(
    String^ name, 
    array<Object^>^ args, 
    array<Object^>^ parameters
) sealed = IVsDataSupportObject<IVsDataViewCommandProvider^>::Invoke
private abstract Invoke : 
        name:string * 
        args:Object[] * 
        parameters:Object[] -> Object  
private override Invoke : 
        name:string * 
        args:Object[] * 
        parameters:Object[] -> Object
JScript does not support explicit interface implementations.

Parameters

  • name
    Type: System.String

    The name of the command to be invoked.

  • args
    Type: array<System.Object[]

    An array of arguments to pass to the invoked command.

  • parameters
    Type: array<System.Object[]

    An array of parameters for use with this command.

Return Value

Type: System.Object
The return value of the invoked command.

Implements

IVsDataSupportObject<T>.Invoke(String, array<Object[], array<Object[])

.NET Framework Security

See Also

Reference

DataViewCommandProvider Class

Microsoft.VisualStudio.Data.Framework Namespace