MethodInvoker.Invoke(Object, Object[]) 方法

定义

在派生类中重写时,调用方法。When overridden in a derived class, invokes the method.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 abstract System::Object ^ Invoke(System::Object ^ thisob, cli::array <System::Object ^> ^ parameters);
public abstract object Invoke (object thisob, object[] parameters);
abstract member Invoke : obj * obj[] -> obj
Public MustOverride Function Invoke (thisob As Object, parameters As Object()) As Object

参数

thisob
Object

此方法所作用于的对象。The object that this method is acting upon.

parameters
Object[]

要用于方法的参数。The arguments to use for the method.

返回

Object

调用方法的结果。The result of invoking the method.

适用于

另请参阅