JSConstructor.Invoke 方法

定義

叫用建構函式。

多載

Invoke(BindingFlags, Binder, Object[], CultureInfo)

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

使用指定的文化特性和繫結資訊,叫用建構函式。

Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)

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

使用指定的文化特性和繫結資訊,在指定的物件上叫用建構函式。

Invoke(BindingFlags, Binder, Object[], CultureInfo)

使用指定的文化特性和繫結資訊,叫用建構函式。

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

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

參數

options
BindingFlags

列舉值的位元組合,進行控制繫結。

binder
Binder

將型別從實質引數型別轉換成型式引數型別的物件。

parameters
Object[]

要傳遞到建構函式的引數清單。

culture
CultureInfo

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

傳回

與建構函式相關聯的類別之執行個體。

另請參閱

適用於

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

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

傳回

與建構函式相關聯的類別之執行個體。

另請參閱

適用於