MethodAccessorInvokeInstanceFunctionTInstance, T1, T2, T3, TResult(TInstance, T1, T2, T3) Method
Invokes an instance function method with three parameters in a value type. If the type of the parameters, the return value
or the declaring instance are not known at compile time the non-generic
Invoke methods can be used.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public TResult InvokeInstanceFunction<TInstance, T1, T2, T3, TResult>(
in TInstance instance,
T1 param1,
T2 param2,
T3 param3
)
where TInstance : struct, new()
Public Function InvokeInstanceFunction(Of TInstance As {Structure, New}, T1, T2, T3, TResult) (
ByRef instance As TInstance,
param1 As T1,
param2 As T2,
param3 As T3
) As TResult
public:
generic<typename TInstance, typename T1, typename T2, typename T3, typename TResult>
where TInstance : value class, gcnew()
TResult InvokeInstanceFunction(
[InAttribute] TInstance% instance,
T1 param1,
T2 param2,
T3 param3
)
member InvokeInstanceFunction :
instance : 'TInstance byref *
param1 : 'T1 *
param2 : 'T2 *
param3 : 'T3 -> 'TResult when 'TInstance : struct, new()
- instance TInstance
- The instance that the method belongs to.
- param1 T1
- The value of the first parameter.
- param2 T2
- The value of the second parameter.
- param3 T3
- The value of the third parameter.
- TInstance
- The type of the instance that declares the method.
- T1
- The type of the first parameter.
- T2
- The type of the second parameter.
- T3
- The type of the third parameter.
- TResult
- The return type of the method.
TResultThe return value of the method.