Compartir a través de


WpfBrowser.RunScript Method

Executes the XRM Command on the current UI.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim instance As WpfBrowser
Dim sCommand As String
Dim frame As String
Dim returnValue As Object

returnValue = instance.RunScript(sCommand, frame)

Syntax

'Declaration
Public Function RunScript ( _
    sCommand As String, _
    frame As String _
) As Object
public Object RunScript (
    string sCommand,
    string frame
)
public:
Object^ RunScript (
    String^ sCommand, 
    String^ frame
)
public Object RunScript (
    String sCommand, 
    String frame
)
public function RunScript (
    sCommand : String, 
    frame : String
) : Object

Parameters

  • sCommand
    Specifies the command.
  • frame
    Specifies the frame.

Return Value

Type: Object

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

WpfBrowser Class
WpfBrowser Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.