Utility Functions and C Language Reference > .NET Vuser Functions > Alphabetical List of Functions > InvokeStaticGenericMethod

InvokeStaticGenericMethod

Example: InvokeStaticGenericMethod Alphabetical List of Functions

Invoke a static generic method.

object InvokeStaticGenericMethod(Type type, string methodName, int metadataToken, Type[] genericArguments, object[] parameters);
type The method type.
methodName The name of the generic method.
metadataToken The metadataToken of the method.
genericArguments The generic arguments with which to make the method invokable.
parameters The method parameters.

InvokeStaticGenericMethod invokes a static generic method indicated by its name, type, and metadataToken. It returns the result of the method invocation..

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

Parameterization

Parameterization is not applicable to this function.