Partager via


BrowserWindow.ExecuteScript Method

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable Function ExecuteScript ( _
    script As String, _
    ParamArray args As Object() _
) As Object
public virtual Object ExecuteScript(
    string script,
    params Object[] args
)
public:
virtual Object^ ExecuteScript(
    String^ script, 
    ... array<Object^>^ args
)
abstract ExecuteScript : 
        script:string * 
        args:Object[] -> Object  
override ExecuteScript : 
        script:string * 
        args:Object[] -> Object
public function ExecuteScript(
    script : String, 
    ... args : Object[]
) : Object

Parameters

  • script
    Type: String
  • args
    Type: array<Object[]

Return Value

Type: Object

.NET Framework Security

See Also

Reference

BrowserWindow Class

Microsoft.VisualStudio.TestTools.UITesting Namespace