JSConstructor.Invoke 方法

定義

會調用構造子。

多載

名稱 Description
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

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

傳回

與建構子相關聯的類別實例。

另請參閱

適用於