Invoke an generic method by name, in reflection context.
This method is the only way to invoke generic method in late bound conditions.
Namespace: Cartella.SupportAssembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
Visual Basic |
---|
Public Shared Function InvokeGenericMethod ( _
methodName As String, _
obj As Object, _
genericTypeArguments As Type(), _
paramTypes As Type(), _
methodParameters As Object() _
) As Object |
Visual C++ |
---|
public:
static Object^ InvokeGenericMethod(
String^ methodName,
Object^ obj,
array<Type^>^ genericTypeArguments,
array<Type^>^ paramTypes,
array<Object^>^ methodParameters
) |
Return Value
Result of the generic method excusion. Null if the generic method is a void method
See Also