Επεξεργασία

Κοινή χρήση μέσω


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.

public:
 static bool LateCanEvaluate(System::Object ^ instance, Type ^ type, System::String ^ memberName, cli::array <System::Object ^> ^ arguments, bool allowFunctionEvaluation, bool allowPropertyEvaluation);
public static bool LateCanEvaluate (object instance, Type type, string memberName, object[] arguments, bool allowFunctionEvaluation, bool allowPropertyEvaluation);
static member LateCanEvaluate : obj * Type * string * obj[] * bool * bool -> bool
Public Shared Function LateCanEvaluate (instance As Object, type As Type, memberName As String, arguments As Object(), allowFunctionEvaluation As Boolean, allowPropertyEvaluation As Boolean) As Boolean

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