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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.