AVEVA OMI Software Developer Kit



JavaScript code.
EvalScriptAsync Method
Executes JavaScript code with return value with task.
Syntax
'Declaration
 
Public Function EvalScriptAsync( _
   ByVal script As String _
) As Task(Of Object)
'Usage
 
Dim instance As WebControl
Dim script As String
Dim value As Task(Of Object)
 
value = instance.EvalScriptAsync(script)
public Task<object> EvalScriptAsync( 
   string script
)
public:
Task<Object^>^ EvalScriptAsync( 
   String^ script
) 

Parameters

script
JavaScript code.

Return Value

Execution result
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also