Share this page

# InvokeConstructor

Example: InvokeConstructor | Alphabetical List of Functions

Invokes a constructor.

    object InvokeConstructor(Type type, int metadataToken, object[] parameters);

type | The type of object to create.
metadataToken | The metadataToken of the constructor.
parameters | The constructor parameters.

InvokeConstructor invokes the constructors indicated by the type and parameters. It returns the constructor instance.

Note: Do not add this function manually to a script. It is generated by VuGen automatically.

## Parameterization

Parameterization is not applicable to this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: