NewLateBinding.LateCanEvaluate 方法

定義

指出呼叫是否需要晚期繫結評估。 這個 Helper 方法並不適合從您的程式碼直接呼叫。

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

參數

instance
Object

公開屬性或方法的呼叫物件執行個體。

type
Type

呼叫物件的型別。

memberName
String

在呼叫物件上的屬性或方法名稱。

arguments
Object[]

陣列,其中包含要傳遞給呼叫的屬性或方法之引數。

allowFunctionEvaluation
Boolean

Boolean 值,指定是否允許函式評估。

allowPropertyEvaluation
Boolean

Boolean 值,指定是否允許屬性評估。

傳回

Boolean 值,指出運算式是否需要晚期繫結評估。

適用於