LateBinding.LateCall Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Performs a late-bound call to an object method.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

[DebuggerHiddenAttribute]
[DebuggerStepThroughAttribute]
public static void LateCall(
	Object o,
	Type objType,
	string name,
	Object[] args,
	string[] paramnames,
	bool[] CopyBack
)

Parameters

o
Type: System.Object

The object to call a method on.

objType
Type: System.Type

The type of the object.

name
Type: System.String

The method name of o to call.

args
Type: System.Object[]

An array of parameter values to pass to the method.

paramnames
Type: System.String[]

An array that contains the names of the parameters to which the values in the args array are passed.

CopyBack
Type: System.Boolean[]

An array of Boolean values, where True indicates that the associated parameter is passed ByRef.

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft