NewLateBinding.LateCanEvaluate Method

Definition

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

C#
public static bool LateCanEvaluate(object instance, Type type, string memberName, object[] arguments, bool allowFunctionEvaluation, bool allowPropertyEvaluation);

Parameters

instance
Object

An instance of the call object exposing the property or method.

type
Type

The type of the call object.

memberName
String

The name of the property or method on the call object.

arguments
Object[]

An array containing the arguments to be passed to the property or method being called.

allowFunctionEvaluation
Boolean

A Boolean value that specifies whether to allow function evaluation.

allowPropertyEvaluation
Boolean

A Boolean value that specifies whether to allow property evaluation.

Returns

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

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1