Table of Contents

Method RunFunction

Namespace
Alternet.Scripter.TypeScript
Assembly
Alternet.Scripter.TypeScript.v9.dll

RunFunction(string, object[])

When implemented by a class, executes specified function.

object RunFunction(string function, object[] args = null)

Parameters

function string

Name of function to execute.

args object[]

Array of function's parameters.

Returns

object

An object containing return value of the executed function.