NewLateBinding.LateCanEvaluate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示通話是否需要延遲評估。 這個輔助方法並非設計來直接從你的程式碼呼叫。
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 表示表達式是否需要晚界評估的值。