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

InvokeStaticMethod

Example: InvokeStaticMethod Alphabetical List of Functions

Invokes a static method.

object InvokeStaticMethod(Type type, string methodName, int metadataToken, object[] parameters);
type The method type.
methodName The name of the method.
metadataToken The metadataToken of the method.
parameters The method parameters.

InvokeStaticMethod Invokes a static method and 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.