ConstructorInfo._ConstructorInfo.Invoke_3 Method (Object, Object[])

 

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

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

object _ConstructorInfo.Invoke_3(
	object obj,
	object[] parameters
)

Parameters

obj
Type: System.Object

The instance that created this method.

parameters
Type: System.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.

Return Value

Type: System.Object

An instance of the type.

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

.NET Framework
Available since 1.1
Return to top
Show: