共用方式為


IVsUICollection.Invoke(String, Object, Object) Method

Definition

Executes a verb on the 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 the operation.

Returns

Returns S_OK if the verb executed.

Implements

Applies to