Share via


IVsUIDispatch.Invoke(String, Object, Object) Method

Definition

Invokes a verb on a data source.

public:
 int Invoke(System::String ^ verb, System::Object ^ pvaIn, [Runtime::InteropServices::Out] System::Object ^ % pvaOut);
int Invoke(std::wstring const & verb, winrt::Windows::Foundation::IInspectable const & pvaIn, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvaOut);
public int Invoke (string verb, object pvaIn, out object pvaOut);
abstract member Invoke : string * obj * obj -> int
Public Function Invoke (verb As String, pvaIn As Object, ByRef pvaOut As Object) As Integer

Parameters

verb
String

[in] The name of the verb to execute.

pvaIn
Object

[in] An argument for the verb.

pvaOut
Object

[out] Location to return the results of executing the verb.

Returns

Returns S_OK if the verb executed.

Applies to