JSConstructor.Invoke Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invokes the constructor.
Overloads
Invoke(BindingFlags, Binder, Object[], CultureInfo) |
This API supports the product infrastructure and is not intended to be used directly from your code. Invokes the constructor, using the specified culture and binding information. |
Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) |
This API supports the product infrastructure and is not intended to be used directly from your code. Invokes the constructor on the specified object, using the specified culture and binding information. |
Invoke(BindingFlags, Binder, Object[], CultureInfo)
Invokes the constructor, using the specified culture and binding information.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
Parameters
- options
- BindingFlags
A bitwise combination of the enumeration values that control the binding.
- binder
- Binder
An object that converts the type from actual argument type to formal argument type.
- parameters
- Object[]
The argument list to pass to the constructor.
- culture
- CultureInfo
Provides information about a specific culture or locale. Used to format numbers, dates, and strings correctly.
Returns
An instance of the class associated with the constructor.
See also
Applies to
Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
Invokes the constructor on the specified object, using the specified culture and binding information.
This API supports the product infrastructure and is not intended to be used directly from your code.
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
Parameters
- obj
- Object
The object to call the constructor on.
- options
- BindingFlags
A bitwise combination of the enumeration values that control the binding.
- binder
- Binder
An object that converts the type from actual argument type to formal argument type.
- parameters
- Object[]
The argument list to pass to the constructor.
- culture
- CultureInfo
Provides information about a specific culture or locale. Used to format numbers, dates, and strings correctly.
Returns
An instance of the class associated with the constructor.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기