共用方式為


IVsUIDynamicCollection.Invoke(String, Object, Object) Method

Definition

Invokes a verb on the collection.

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 verb to invoke.

pvaIn
Object

[in] An argument for the verb.

pvaOut
Object

[out] Location to return the result.

Returns

Returns S_OK if the verb executed.

Implements

Applies to