ConstructorInfo._ConstructorInfo.Invoke_5(Object[]) Method

Definition

Provides COM objects with version-independent access to the Invoke(Object[]) method.

 virtual System::Object ^ System.Runtime.InteropServices._ConstructorInfo.Invoke_5(cli::array <System::Object ^> ^ parameters) = System::Runtime::InteropServices::_ConstructorInfo::Invoke_5;
object _ConstructorInfo.Invoke_5 (object[] parameters);
abstract member System.Runtime.InteropServices._ConstructorInfo.Invoke_5 : obj[] -> obj
override this.System.Runtime.InteropServices._ConstructorInfo.Invoke_5 : obj[] -> obj
Function Invoke_5 (parameters As Object()) As Object Implements _ConstructorInfo.Invoke_5

Parameters

parameters
Object[]

An array of objects used to match the number, order, and type of the parameters for this constructor, under the constraints of binder. If this constructor does not require parameters, pass an array with zero elements. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is null. For value-type elements, this value is 0, 0.0, or false, depending on the specific element type.

Returns

An instance of the type.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ConstructorInfo instance is cast to an _ConstructorInfo interface.

Applies to

Termék Verziók
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1