다음을 통해 공유


ClassOps.CallMethodNonVirtually(Object, MethodInfo, Object[]) Method

Definition

Performs non-virtual method call with return value. Main usage: base class method call inside subclass method.

public:
 static System::Object ^ CallMethodNonVirtually(System::Object ^ target, System::Reflection::MethodInfo ^ mi, cli::array <System::Object ^> ^ args);
public static object CallMethodNonVirtually (object target, System.Reflection.MethodInfo mi, object[] args);
static member CallMethodNonVirtually : obj * System.Reflection.MethodInfo * obj[] -> obj
Public Shared Function CallMethodNonVirtually (target As Object, mi As MethodInfo, args As Object()) As Object

Parameters

target
Object

Object for invocation.

mi
MethodInfo

Method info for invocation.

args
Object[]

Arguments for invocation.

Returns

Applies to