This documentation is archived and is not being maintained.

NewLateBinding.LateCanEvaluate Method

Indicates whether a call requires late-bound evaluation. This helper method is not meant to be called directly from your code.

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

public static bool LateCanEvaluate(
	Object instance,
	Type type,
	string memberName,
	Object[] arguments,
	bool allowFunctionEvaluation,
	bool allowPropertyEvaluation


Type: System.Object
An instance of the call object exposing the property or method.
Type: System.Type
The type of the call object.
Type: System.String
The name of the property or method on the call object.
Type: System.Object[]
An array containing the arguments to be passed to the property or method being called.
Type: System.Boolean
A Boolean value that specifies whether to allow function evaluation.
Type: System.Boolean
A Boolean value that specifies whether to allow property evaluation.

Return Value

Type: System.Boolean
A Boolean value that indicates whether the expression requires late-bound evaluation.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.