MethodMeta Invoke Method (Object, Object, Object, Object, Object, Object)Cognex VisionPro 9.21

Invoke the method.

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

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

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
arg4
Type: System Object
The 4th argument passed to the invokee

Return Value

Type: Object
Exceptions

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