MethodMeta Invoke Method (Object, Object, Object, Object, Object)Cognex VisionPro 9.22 SR1

Invoke the method.

Namespace: Cognex.Vision.Meta
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.22.2.0
Syntax

public Object Invoke(
	Object subject,
	Object arg0,
	Object arg1,
	Object arg2,
	Object arg3
)

Parameters

subject
Type: System Object
The object on which to invoke the given method (use nullptr for static methods)
arg0
Type: System Object
The 0th argument passed to the invokee
arg1
Type: System Object
The 1st argument passed to the invokee
arg2
Type: System Object
The 2nd argument passed to the invokee
arg3
Type: System Object
The 3rd argument passed to the invokee

Return Value

Type: Object
Exceptions

ExceptionCondition
InvalidOperationExceptionThe Method does not accept 4 arguments
InvalidCastExceptionThe Method arguments are not the correct type
ArgumentExceptionThe subject is null or invalid
See Also