Table of Contents

Method ToInvokeScriptArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ToInvokeScriptArgs(object?[])

Converts the array of object values to the comma delimited JSON string.

public virtual string ToInvokeScriptArgs(object?[] args)

Parameters

args object[]

An array of object values for convertion to JSON format.

Returns

string

A string representing the array of object values in JSON format.

Remarks

Used internally by InvokeScriptAsync(string, IntPtr, params object?[]). String and DateTime values are returned enclosed in single quotes.

See Also