ClassOps.CallMethodNonVirtually(Object, MethodInfo, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.