Show / Hide Table of Contents

Method InvokePrivate

| Edit this page View Source

InvokePrivate(object, string, object[])

Invoke a private method of any class instance
Declaration
public static object InvokePrivate(object instance, string name, object[] args = null)
Parameters
Type Name Description
object instance Instance of the class
string name Name of the method
object[] args Argument values (if any) of the method
Returns
Type Description
object The return of the method as an object
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾