Export (0) Print
Expand All

ConstructorInfo.Invoke Method

Invokes the constructor reflected by this instance.

Overload List

Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function Invoke(Object()) As Object
[C#] public object Invoke(object[]);
[C++] public: Object* Invoke(Object*[]);
[JScript] public function Invoke(Object[]) : Object;

When implemented in a derived class, invokes the constructor reflected by this ConstructorInfo with the specified arguments, under the constraints of the specified Binder.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public MustOverride Function Invoke(BindingFlags, Binder, Object(), CultureInfo) As Object
[C#] public abstract object Invoke(BindingFlags, Binder, object[], CultureInfo);
[C++] public: virtual Object* Invoke(BindingFlags, Binder*, Object[], CultureInfo*) = 0;
[JScript] public abstract function Invoke(BindingFlags, Binder, Object[], CultureInfo) : Object;

Inherited from MethodBase.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Function Invoke(Object, Object()) As Object
[C#] public object Invoke(object, object[]);
[C++] public: Object* Invoke(Object*, Object*[]);
[JScript] public function Invoke(Object, Object[]) : Object;

Inherited from MethodBase.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public MustOverride Function Invoke(Object, BindingFlags, Binder, Object(), CultureInfo) As Object
[C#] public abstract object Invoke(object, BindingFlags, Binder, object[], CultureInfo);
[C++] public: virtual Object* Invoke(Object*, BindingFlags, Binder*, Object*[], CultureInfo*) = 0;
[JScript] public abstract function Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) : Object;

See Also

ConstructorInfo Class | ConstructorInfo Members | System.Reflection Namespace

Show:
© 2014 Microsoft