JSMethod.Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) 方法

定義

使用指定資訊呼叫該方法。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 override System::Object ^ Invoke(System::Object ^ obj, System::Reflection::BindingFlags options, System::Reflection::Binder ^ binder, cli::array <System::Object ^> ^ parameters, System::Globalization::CultureInfo ^ culture);
public override object Invoke(object obj, System.Reflection.BindingFlags options, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture);
override this.Invoke : obj * System.Reflection.BindingFlags * System.Reflection.Binder * obj[] * System.Globalization.CultureInfo -> obj
Public Overrides Function Invoke (obj As Object, options As BindingFlags, binder As Binder, parameters As Object(), culture As CultureInfo) As Object

參數

obj
Object

呼叫該方法的物件。

options
BindingFlags

是控制綁定的列舉值的位元組合。

binder
Binder

一個將實際參數型態轉換為正式參數型態的物件。

parameters
Object[]

參數清單要傳給方法。

culture
CultureInfo

提供特定文化或地區的資訊。 用來正確格式化數字、日期和字串。

傳回

呼叫方法的回傳值。

適用於

另請參閱