Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConstructorInfo::_ConstructorInfo::Invoke_2 Method (Object^, BindingFlags, Binder^, array<Object^>^, CultureInfo^)

 

Provides COM objects with version-independent access to the MethodBase::Invoke(Object^, BindingFlags, Binder^, array<Object^>^, CultureInfo^) method.

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

private:
virtual Object^ Invoke_2(
	Object^ obj,
	BindingFlags invokeAttr,
	Binder^ binder,
	array<Object^>^ parameters,
	CultureInfo^ culture
) sealed = _ConstructorInfo::Invoke_2

Parameters

obj
Type: System::Object^

The instance that created this method.

invokeAttr
Type: System.Reflection::BindingFlags

One of the BindingFlags values that specifies the type of binding.

binder
Type: System.Reflection::Binder^

A Binder that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If binder is null, then Type::DefaultBinder is used.

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

culture
Type: System.Globalization::CultureInfo^

A CultureInfo used to govern the coercion of types. If this is null, the CultureInfo for the current thread is used.

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:
© 2017 Microsoft