GenericDispatcher.Invoke 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.
Overloads
Invoke(MethodInfo, Type, Object[]) | |
Invoke(MethodInfo, Type[], Object[]) | |
Invoke(Object, MethodInfo, Type, Object[]) | |
Invoke(Object, MethodInfo, Type[], Object[]) |
Invoke(MethodInfo, Type, Object[])
public:
static System::Object ^ Invoke(System::Reflection::MethodInfo ^ genericMethod, Type ^ type, ... cli::array <System::Object ^> ^ args);
public static object Invoke (System.Reflection.MethodInfo genericMethod, Type type, params object[] args);
static member Invoke : System.Reflection.MethodInfo * Type * obj[] -> obj
Public Shared Function Invoke (genericMethod As MethodInfo, type As Type, ParamArray args As Object()) As Object
Parameters
- genericMethod
- MethodInfo
- type
- Type
- args
- Object[]
Returns
Applies to
Invoke(MethodInfo, Type[], Object[])
public:
static System::Object ^ Invoke(System::Reflection::MethodInfo ^ genericMethod, cli::array <Type ^> ^ types, ... cli::array <System::Object ^> ^ args);
public static object Invoke (System.Reflection.MethodInfo genericMethod, Type[] types, params object[] args);
static member Invoke : System.Reflection.MethodInfo * Type[] * obj[] -> obj
Public Shared Function Invoke (genericMethod As MethodInfo, types As Type(), ParamArray args As Object()) As Object
Parameters
- genericMethod
- MethodInfo
- types
- Type[]
- args
- Object[]
Returns
Applies to
Invoke(Object, MethodInfo, Type, Object[])
public:
static System::Object ^ Invoke(System::Object ^ target, System::Reflection::MethodInfo ^ genericMethod, Type ^ type, ... cli::array <System::Object ^> ^ args);
public static object Invoke (object target, System.Reflection.MethodInfo genericMethod, Type type, params object[] args);
static member Invoke : obj * System.Reflection.MethodInfo * Type * obj[] -> obj
Public Shared Function Invoke (target As Object, genericMethod As MethodInfo, type As Type, ParamArray args As Object()) As Object
Parameters
- target
- Object
- genericMethod
- MethodInfo
- type
- Type
- args
- Object[]
Returns
Applies to
Invoke(Object, MethodInfo, Type[], Object[])
public:
static System::Object ^ Invoke(System::Object ^ target, System::Reflection::MethodInfo ^ genericMethod, cli::array <Type ^> ^ types, ... cli::array <System::Object ^> ^ args);
public static object Invoke (object target, System.Reflection.MethodInfo genericMethod, Type[] types, params object[] args);
static member Invoke : obj * System.Reflection.MethodInfo * Type[] * obj[] -> obj
Public Shared Function Invoke (target As Object, genericMethod As MethodInfo, types As Type(), ParamArray args As Object()) As Object
Parameters
- target
- Object
- genericMethod
- MethodInfo
- types
- Type[]
- args
- Object[]